Add custom-file trait & custom-vars list to doom/info

So I can tell if users may have a custom.el where something may be
inadvertently saved.
This commit is contained in:
Henrik Lissner 2021-04-17 18:07:19 -04:00
parent 811a71e43f
commit 233fd93b65

View file

@ -159,11 +159,19 @@ ready to be pasted in a bug report on github."
'symlinked-emacsdir)
(if (file-symlink-p doom-private-dir)
'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-private-dir)
:type 'files :match "\\.elc$")
'byte-compiled-config)))))
(custom
,@(when (and (stringp custom-file)
(file-exists-p custom-file))
(cl-loop for (type var _) in (get 'user 'theme-settings)
if (eq type 'theme-value)
collect var)))
(modules
,@(or (cl-loop with cat = nil
for key being the hash-keys of doom-modules