From ffe76ec8728464cbe0d2101d57699568591fc7a3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 18 Dec 2025 00:58:50 -0500 Subject: [PATCH] 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. --- early-init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index 4859fe272..e2b934274 100644 --- a/early-init.el +++ b/early-init.el @@ -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))))