Add doctor/help dummy dispatchers

This way they show up in doom help + documentation.
This commit is contained in:
Henrik Lissner 2018-05-21 15:42:27 +02:00
parent cf54b3705b
commit 553d00b598
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -83,6 +83,13 @@ All arguments are passed on to Emacs (except for -p and -e).
Warning, this is for convenience and testing purposes, Doom will not run its
best or fastest when started in this manner.")
(def-dispatcher! (doctor doc)
"Checks for issues with your current Doom config.")
(def-dispatcher! (help h)
"Look up additional information about a command.")
;;
(def-dispatcher! quickstart
"TODO"
(doom//quickstart))
@ -146,11 +153,6 @@ respectively."
"Output system info in markdown for bug reports."
(doom//info))
(def-dispatcher! (doctor d)
"Checks for issues with your current Doom config."
(load (expand-file-name "bin/doom-doctor" doom-emacs-dir)
nil t t))
(def-dispatcher! (version v)
"Reports the version of Doom and Emacs."
(doom//version))