fix: invoke debugger for early-init.el-level errors

This commit is contained in:
Henrik Lissner 2024-03-19 20:34:10 -04:00
parent 6b55c6adc6
commit d553ebc930
No known key found for this signature in database
GPG Key ID: B60957CA074D39A3

View File

@ -109,7 +109,7 @@
;; I avoid `load's NOERROR argument because it suppresses other,
;; legitimate errors (like permission or IO errors), which gets
;; incorrectly interpreted as "this is not a Doom config".
(condition-case _
(condition-case-unless-debug _
;; Load the heart of Doom Emacs.
(load (expand-file-name "lisp/doom" user-emacs-directory)
nil (not init-file-debug) nil 'must-suffix)