Load subr-x & cl-lib sooner
This commit is contained in:
parent
cec2b4e9bc
commit
5ab58a7eaf
1 changed files with 4 additions and 4 deletions
|
@ -416,10 +416,6 @@ The overall load order of Doom is as follows:
|
||||||
Module load order is determined by your `doom!' block. See `doom-modules-dirs'
|
Module load order is determined by your `doom!' block. See `doom-modules-dirs'
|
||||||
for a list of all recognized module trees. Order defines precedence (from most
|
for a list of all recognized module trees. Order defines precedence (from most
|
||||||
to least)."
|
to least)."
|
||||||
;; Built-in packages we use a lot of
|
|
||||||
(require 'subr-x)
|
|
||||||
(require 'cl-lib)
|
|
||||||
|
|
||||||
(when (or force-p (not doom-init-p))
|
(when (or force-p (not doom-init-p))
|
||||||
(setq doom-init-p t) ; Prevent infinite recursion
|
(setq doom-init-p t) ; Prevent infinite recursion
|
||||||
|
|
||||||
|
@ -462,6 +458,10 @@ to least)."
|
||||||
;;
|
;;
|
||||||
;; Bootstrap Doom
|
;; Bootstrap Doom
|
||||||
|
|
||||||
|
(eval-and-compile
|
||||||
|
(require 'subr-x)
|
||||||
|
(require 'cl-lib))
|
||||||
|
|
||||||
(add-to-list 'load-path doom-core-dir)
|
(add-to-list 'load-path doom-core-dir)
|
||||||
|
|
||||||
(doom-initialize noninteractive)
|
(doom-initialize noninteractive)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue