Ensure doom is reinitialized properly after package management
This commit is contained in:
parent
a22d5f0bb4
commit
4b82c7b7db
|
@ -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'.
|
||||
|
|
Loading…
Reference in New Issue
Block a user