Load early-init.el if early-init-file is not bound *and* true
For Emacs 27, the symbol is still bound when using -Q, which means it won't be loaded from bin/doom.
This commit is contained in:
parent
a0604e3feb
commit
58b723bc54
1 changed files with 1 additions and 1 deletions
2
init.el
2
init.el
|
@ -27,7 +27,7 @@
|
||||||
;;
|
;;
|
||||||
;;; License: MIT
|
;;; License: MIT
|
||||||
|
|
||||||
(unless (boundp 'early-init-file)
|
(unless (bound-and-true-p early-init-file)
|
||||||
(load (concat (file-name-directory load-file-name) "early-init")
|
(load (concat (file-name-directory load-file-name) "early-init")
|
||||||
nil t))
|
nil t))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue