From 553d00b598b8c4bb03c93575a03f84fa69afe639 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 21 May 2018 15:42:27 +0200 Subject: [PATCH] Add doctor/help dummy dispatchers This way they show up in doom help + documentation. --- core/core-dispatcher.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/core/core-dispatcher.el b/core/core-dispatcher.el index 33b887335..70a71e5e4 100644 --- a/core/core-dispatcher.el +++ b/core/core-dispatcher.el @@ -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))