Fix void-function errors from doom//reload

Because certain commands aren't available without core-dispatcher.
This commit is contained in:
Henrik Lissner 2018-06-14 19:50:27 +02:00
parent 733ac8bed7
commit 3228369d73
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -191,6 +191,7 @@ If called from an interactive session, tries to reload autoloads files (if
necessary), reinistalize doom (via `doom-initialize') and reloads your private
init.el and config.el. Then runs `doom-reload-hook'."
(interactive)
(require 'core-dispatcher)
(cond ((and noninteractive (not (daemonp)))
(require 'server)
(if (not (server-running-p))