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 Warning, this is for convenience and testing purposes, Doom will not run its
best or fastest when started in this manner.") 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 (def-dispatcher! quickstart
"TODO" "TODO"
(doom//quickstart)) (doom//quickstart))
@ -146,11 +153,6 @@ respectively."
"Output system info in markdown for bug reports." "Output system info in markdown for bug reports."
(doom//info)) (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) (def-dispatcher! (version v)
"Reports the version of Doom and Emacs." "Reports the version of Doom and Emacs."
(doom//version)) (doom//version))