nit: minor comment revision and refactors
This commit is contained in:
parent
7ffe0df8eb
commit
732d87ac3e
7 changed files with 13 additions and 20 deletions
|
@ -306,7 +306,8 @@ OPTIONS:
|
|||
(cl-defun doom-cli-help--render-commands (commands &key prefix grouped? docs? (inline? t))
|
||||
(with-temp-buffer
|
||||
(let* ((doom-print-indent 0)
|
||||
(commands (seq-group-by (fn! (if grouped? (doom-cli-prop (doom-cli-get % t) :group))) (nreverse commands)))
|
||||
(commands (seq-group-by (fn! (if grouped? (doom-cli-prop (doom-cli-get % t) :group)))
|
||||
(nreverse commands)))
|
||||
(toplevel (assq nil commands))
|
||||
(rest (remove toplevel commands))
|
||||
(drop (if prefix (length prefix) 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue