mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user