From c20ba77ff70468d7bfd2a0ccc84938c0be622906 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 24 Sep 2022 21:38:23 +0200 Subject: [PATCH] tweak: employ startup optimizations even in debug mode It's kind of a pain to have different behavior when you're debugging. Some errors may not present without them, so best to remain predictable and permit these optimizations even when debug mode is on. --- lisp/doom.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doom.el b/lisp/doom.el index 7acc69472..057d02fdb 100644 --- a/lisp/doom.el +++ b/lisp/doom.el @@ -316,7 +316,7 @@ users).") ;; often between major Emacs releases. However, I disable them if this is a ;; daemon session (where startup time matters less) or in debug-mode (to ;; mitigate interference with our debugging). -(unless (or (daemonp) init-file-debug) +(unless (daemonp) ;; PERF: `file-name-handler-alist' is consulted on each call to `require', ;; `load', or various file/io functions (like `expand-file-name' or ;; `file-remote-p'). You get a noteable boost to startup time by unsetting