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.
This commit is contained in:
Henrik Lissner 2018-06-12 12:18:21 +02:00
parent 85591ca296
commit 77ac164651
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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'