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:
Henrik Lissner 2022-09-24 21:38:23 +02:00
parent 29dfce32bd
commit c20ba77ff7
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -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