fix: void-function string-empty-p in Emacs 27.x

Doom core will always support 27.x (for CLI/noninteractive use), but
string-empty-p was in subr-x up until 28, which isn't worth loading this
early in the startup process.
This commit is contained in:
Henrik Lissner 2025-12-18 00:58:50 -05:00
parent 0dfb874b57
commit ffe76ec872
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -51,7 +51,7 @@
;; startup more verbose sooner.
(let ((debug (getenv-internal "DEBUG")))
(when (stringp debug)
(if (string-empty-p debug)
(if (string= debug "")
(setenv "DEBUG" nil)
(setq init-file-debug t
debug-on-error t))))