doom-initialize: letbind load-path to site load-path instead
PREMATURE OPTIMIZATION DETECTED. EXTERMINATE. EXTERMINATE. EXTERMINATE.
This commit is contained in:
parent
5cd29479f4
commit
379914ccd7
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ startup."
|
||||||
;; Called early during initialization; only use native (and cl-lib) functions!
|
;; Called early during initialization; only use native (and cl-lib) functions!
|
||||||
(when (or force-p (not doom-init-p))
|
(when (or force-p (not doom-init-p))
|
||||||
;; Speed things up with a `load-path' for only the bare essentials
|
;; Speed things up with a `load-path' for only the bare essentials
|
||||||
(let ((load-path doom--base-load-path))
|
(let ((load-path doom--site-load-path))
|
||||||
;; Ensure core folders exist, otherwise we get errors
|
;; Ensure core folders exist, otherwise we get errors
|
||||||
(dolist (dir (list doom-local-dir doom-etc-dir doom-cache-dir doom-packages-dir))
|
(dolist (dir (list doom-local-dir doom-etc-dir doom-cache-dir doom-packages-dir))
|
||||||
(unless (file-directory-p dir)
|
(unless (file-directory-p dir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue