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:
parent
811a71e43f
commit
233fd93b65
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue