Fix arg-less color functions in print!/format!

This commit is contained in:
Henrik Lissner 2019-04-24 18:07:37 -04:00
parent 88406bb11a
commit 1ab8dac872
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 6 deletions

View file

@ -39,7 +39,7 @@ commands like `doom-packages-install', `doom-packages-update' and
omitted, show all available commands, their aliases and brief descriptions."
(if command
(princ (doom--dispatch-format desc))
(print! (bold "%-10s\t%s\t%s") "Command:" "Alias" "Description")
(print! (bold "%-10s\t%s\t%s" "Command:" "Alias" "Description"))
(dolist (spec (cl-sort doom--dispatch-command-alist #'string-lessp
:key #'car))
(cl-destructuring-bind (command &key desc _body) spec