diff --git a/core/core-packages.el b/core/core-packages.el index 81c503c83..7d1b25ea0 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -192,7 +192,7 @@ FORCE-P is non-nil, do it anyway. (error "✕ Couldn't install %s" package))) (message "Installing core packages...done"))) (cl-pushnew doom-core-dir load-path :test #'string=) - (add-hook 'doom-init-core-hook #'doom--refresh-cache)) + (add-hook 'after-init-hook #'doom--refresh-cache)) (setq doom-init-p t))) (defun doom-initialize-autoloads () diff --git a/core/core.el b/core/core.el index 05322509c..431909d2d 100644 --- a/core/core.el +++ b/core/core.el @@ -159,8 +159,6 @@ ability to invoke the debugger in debug mode." (load! core-projects) ; making Emacs project-aware (load! core-keybinds)) ; centralized keybind system + which-key - (run-hooks 'doom-init-core-hook) - (defun doom|after-init () "Run `doom-init-hook' and `doom-post-init-hook', start the Emacs server, and display the loading benchmark."