tweak(lib): doom-info: split byte-compiled-config trait into 3
What used to be a `byte-compiled-config` trait, displayed in your `M-x doom/info`, is now `compiled-user-config`, `compiled-core`, and `compiled-modules`, for more helpful granularity for debugging possible byte-code issues.
This commit is contained in:
parent
231fc9cf53
commit
f9de598daa
1 changed files with 6 additions and 5 deletions
|
@ -292,11 +292,12 @@ ready to be pasted in a bug report on github."
|
|||
'symlinked-doomdir)
|
||||
(if (and (stringp custom-file) (file-exists-p custom-file))
|
||||
'custom-file)
|
||||
(if (doom-files-in `(,@doom-modules-dirs
|
||||
,doom-core-dir
|
||||
,doom-user-dir)
|
||||
:type 'files :match "\\.elc$")
|
||||
'byte-compiled-config)))))
|
||||
(if (doom-files-in doom-user-dir :type 'files :match "\\.elc$")
|
||||
'compiled-user-config)
|
||||
(if (doom-files-in doom-core-dir :type 'files :match "\\.elc$")
|
||||
'compiled-core)
|
||||
(if (doom-files-in doom-modules-dirs :type 'files :match "\\.elc$")
|
||||
'compiled-modules)))))
|
||||
(custom
|
||||
,@(when (and (stringp custom-file)
|
||||
(file-exists-p custom-file))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue