diff --git a/core/autoload/debug.el b/core/autoload/debug.el index c34798546..7d5ac5dba 100644 --- a/core/autoload/debug.el +++ b/core/autoload/debug.el @@ -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)