From 0ebf526e018e25c8ff2f17d367c2233a923ad8d6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 12 Oct 2018 14:07:25 -0400 Subject: [PATCH] Fix doom/info omitting first module in each category Discovered in #941 --- core/autoload/debug.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/autoload/debug.el b/core/autoload/debug.el index cfe956e55..f4676ac9a 100644 --- a/core/autoload/debug.el +++ b/core/autoload/debug.el @@ -50,7 +50,9 @@ ready to be pasted in a bug report on github." (or (cl-loop with cat = nil for key being the hash-keys of doom-modules if (or (not cat) (not (eq cat (car key)))) - do (setq cat (car key)) and collect cat + do (setq cat (car key)) + and collect cat + and collect (cdr key) else collect (let ((flags (doom-module-get cat (cdr key) :flags))) (if flags