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:
Henrik Lissner 2022-09-18 14:01:52 +02:00
parent 231fc9cf53
commit f9de598daa
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -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))