From 77ac16465134438dc0f20f287e15f42954abff96 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 12 Jun 2018 12:18:21 +0200 Subject: [PATCH] Fix core libraries not loading Caused because the load-path is reset to doom-site-load-path in doom-initialize-packages, which was initialized before doom-core-dir was added to it, so core-* libraries couldn't be found. --- core/core-packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-packages.el b/core/core-packages.el index dbb4fb8d0..d212c929b 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -100,7 +100,7 @@ them." (unless (eq force-p 'internal) ;; `package-alist' (when (or force-p (not (bound-and-true-p package-alist))) - (setq load-path doom-site-load-path) + (setq load-path (cons doom-core-dir doom-site-load-path)) (doom-ensure-packages-initialized 'force)) ;; `quelpa-cache'