From 5789fb45110b8eb31a64ff51bad6ef56a320fa5e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 28 Dec 2017 01:02:32 -0500 Subject: [PATCH] Don't rerun doom init hooks on doom-reload-hook --- core/core-packages.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/core-packages.el b/core/core-packages.el index 78d69cd3d..b5d029d90 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -522,11 +522,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)))) - (t - (doom-initialize-load-path t) - (message "%d packages reloaded" (length doom--package-load-path)) - (run-with-timer 1 nil #'redraw-display) - (run-hooks 'doom-reload-hook)))) + ((let ((noninteractive t)) + (doom-initialize-load-path t) + (message "%d packages reloaded" (length doom--package-load-path)) + (run-hooks 'doom-reload-hook))))) (defun doom//reload-autoloads () "Refreshes the autoloads.el file, specified by `doom-autoload-file'.