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

View File

@ -68,11 +68,11 @@ ready to be pasted in a bug report on github."
(modules
,@(or (cl-loop with cat = nil
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))
and collect cat
and collect (cdr key)
else collect
collect
(let ((flags (doom-module-get cat (cdr key) :flags)))
(if flags
`(,(cdr key) ,@flags)