mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
Ensure doom is reinitialized properly after package management
This commit is contained in:
@@ -606,10 +606,10 @@ call `doom//reload-load-path' remotely (through emacsclient)."
|
|||||||
(when (server-running-p)
|
(when (server-running-p)
|
||||||
(message "Reloading active Emacs session...")
|
(message "Reloading active Emacs session...")
|
||||||
(server-eval-at server-name '(doom//reload-load-path))))
|
(server-eval-at server-name '(doom//reload-load-path))))
|
||||||
((let ((noninteractive t))
|
(t
|
||||||
(doom-initialize t)
|
(doom-initialize t)
|
||||||
(message "%d packages reloaded" (length package-alist))
|
(message "%d packages reloaded" (length package-alist))
|
||||||
(run-hooks 'doom-reload-hook)))))
|
(run-hooks 'doom-reload-hook))))
|
||||||
|
|
||||||
(defun doom//reload-autoloads ()
|
(defun doom//reload-autoloads ()
|
||||||
"Refreshes the autoloads.el file, specified by `doom-autoload-file'.
|
"Refreshes the autoloads.el file, specified by `doom-autoload-file'.
|
||||||
|
Reference in New Issue
Block a user