Don't destroy load-path on reload

This commit is contained in:
Henrik Lissner 2018-03-21 21:54:44 -04:00
parent 744e7d6dfd
commit 3001e59ecc
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -148,7 +148,6 @@ FORCE-P is non-nil, do it anyway.
(unless noninteractive
(error "No autoloads file! Run make autoloads")))
(when (or force-p (not (load doom-packages-file t t t)))
(setq load-path doom-site-load-path)
;; Ensure core folders exist, otherwise we get errors
(dolist (dir (list doom-local-dir doom-etc-dir doom-cache-dir doom-packages-dir))
(unless (file-directory-p dir)