diff --git a/core/core.el b/core/core.el index 91dc7dff0..98c806e26 100644 --- a/core/core.el +++ b/core/core.el @@ -510,6 +510,12 @@ to least)." (require 'core-packages) (doom-initialize-packages))) + ;; Eagerly load these libraries because we may be in a session that hasn't been + ;; fully initialized (e.g. where autoloads files haven't been generated or + ;; `load-path' populated). + (mapc (doom-rpartial #'load nil (not doom-debug-mode) 'nosuffix) + (file-expand-wildcards (concat doom-core-dir "autoload/*.el"))) + ;; Create all our core directories to quell file errors (dolist (dir (list doom-local-dir doom-etc-dir