From c5ef55a25f08594bc7acbdfb113944d550742ad6 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 14 Jan 2026 08:19:17 -0500 Subject: [PATCH] Modify 'debug-on-error' only when debug mode is active --- early-init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index 1a63aca..e20956b 100644 --- a/early-init.el +++ b/early-init.el @@ -109,7 +109,8 @@ Note that this should end with a directory separator.") ;; Prefer loading newer compiled files (setq load-prefer-newer t) -(setq debug-on-error minimal-emacs-debug) +(when minimal-emacs-debug + (setq debug-on-error minimal-emacs-debug)) (defvar minimal-emacs--success nil) (defun minimal-emacs--check-success ()