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:
parent
29dfce32bd
commit
c20ba77ff7
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ users).")
|
||||||
;; often between major Emacs releases. However, I disable them if this is a
|
;; 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
|
;; daemon session (where startup time matters less) or in debug-mode (to
|
||||||
;; mitigate interference with our debugging).
|
;; 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',
|
;; PERF: `file-name-handler-alist' is consulted on each call to `require',
|
||||||
;; `load', or various file/io functions (like `expand-file-name' or
|
;; `load', or various file/io functions (like `expand-file-name' or
|
||||||
;; `file-remote-p'). You get a noteable boost to startup time by unsetting
|
;; `file-remote-p'). You get a noteable boost to startup time by unsetting
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue