From fe850934f17005e7f98f1cccc59abad0b85eefe5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 20 Jun 2022 23:37:21 +0200 Subject: [PATCH] fix(cli): display command list groups in insert order On 'doom help' or 'doom help --commands' --- core/cli/help.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cli/help.el b/core/cli/help.el index 8121196bf..1d224f1dc 100644 --- a/core/cli/help.el +++ b/core/cli/help.el @@ -306,7 +306,7 @@ OPTIONS: (let* ((doom-print-indent 0) (commands (seq-group-by (fn!! (if grouped? (doom-cli-prop (doom-cli-get % t) :group))) commands)) (toplevel (assq nil commands)) - (rest (nreverse (remove toplevel commands))) + (rest (remove toplevel commands)) (drop (if prefix (length prefix) 0)) (minwidth (apply