From 8f5b2030fdaa6cf33d117ec32203864b367fc587 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 27 Aug 2025 14:08:43 -0400 Subject: [PATCH] Make minimal-emacs-load-user-init display messages when init-file-debug is non-nil --- early-init.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/early-init.el b/early-init.el index 197c50b..c120546 100644 --- a/early-init.el +++ b/early-init.el @@ -138,12 +138,11 @@ pre-early-init.el, and post-early-init.el.") (let ((init-file (expand-file-name filename minimal-emacs-user-directory))) (if (not minimal-emacs-load-compiled-init-files) - (load init-file :no-error (not (bound-and-true-p init-file-debug)) - :nosuffix) + (load init-file :no-error (not init-file-debug) :nosuffix) ;; Remove the file suffix (.el, .el.gz, etc.) to let the `load' function ;; select between .el and .elc files. (setq init-file (minimal-emacs--remove-el-file-suffix init-file)) - (load init-file :no-error (not (bound-and-true-p init-file-debug)))))) + (load init-file :no-error (not init-file-debug))))) (minimal-emacs-load-user-init "pre-early-init.el")