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:
Josh Seba 2018-07-12 16:32:07 -07:00
parent a0604e3feb
commit 58b723bc54

View file

@ -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))