Fix doom/info omitting flags on some modules

This commit is contained in:
Henrik Lissner 2019-09-26 21:57:55 -04:00
parent 525193f94b
commit 4a8cef56ea
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -68,11 +68,11 @@ ready to be pasted in a bug report on github."
(modules (modules
,@(or (cl-loop with cat = nil ,@(or (cl-loop with cat = nil
for key being the hash-keys of doom-modules for key being the hash-keys of doom-modules
if (or (not cat) (not (eq cat (car key)))) if (or (not cat)
(not (eq cat (car key))))
do (setq cat (car key)) do (setq cat (car key))
and collect cat and collect cat
and collect (cdr key) collect
else collect
(let ((flags (doom-module-get cat (cdr key) :flags))) (let ((flags (doom-module-get cat (cdr key) :flags)))
(if flags (if flags
`(,(cdr key) ,@flags) `(,(cdr key) ,@flags)