mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
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:
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))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user