From a831946afb14bcb0b5b260beeaeec792293a81e9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 17 Feb 2022 21:12:40 +0100 Subject: [PATCH] feat: no startup optimizations if debug mode is on --- early-init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index 2ee09f94f..f0abc4ecf 100644 --- a/early-init.el +++ b/early-init.el @@ -23,7 +23,9 @@ ;; to skip the mtime checks on every *.elc file. (setq load-prefer-newer noninteractive) -(unless (or (daemonp) noninteractive) +(unless (or (daemonp) + noninteractive + init-file-debug) (let ((old-file-name-handler-alist file-name-handler-alist)) ;; `file-name-handler-alist' is consulted on each `require', `load' and ;; various path/io functions. You get a minor speed up by unsetting this.