Ensure doom is reinitialized properly after package management

This commit is contained in:
Henrik Lissner 2018-03-02 21:59:10 -05:00
parent a22d5f0bb4
commit 4b82c7b7db
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -606,10 +606,10 @@ call `doom//reload-load-path' remotely (through emacsclient)."
(when (server-running-p)
(message "Reloading active Emacs session...")
(server-eval-at server-name '(doom//reload-load-path))))
((let ((noninteractive t))
(doom-initialize t)
(message "%d packages reloaded" (length package-alist))
(run-hooks 'doom-reload-hook)))))
(t
(doom-initialize t)
(message "%d packages reloaded" (length package-alist))
(run-hooks 'doom-reload-hook))))
(defun doom//reload-autoloads ()
"Refreshes the autoloads.el file, specified by `doom-autoload-file'.