feat: no startup optimizations if debug mode is on
This commit is contained in:
parent
81629dc2ad
commit
a831946afb
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@
|
||||||
;; to skip the mtime checks on every *.elc file.
|
;; to skip the mtime checks on every *.elc file.
|
||||||
(setq load-prefer-newer noninteractive)
|
(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))
|
(let ((old-file-name-handler-alist file-name-handler-alist))
|
||||||
;; `file-name-handler-alist' is consulted on each `require', `load' and
|
;; `file-name-handler-alist' is consulted on each `require', `load' and
|
||||||
;; various path/io functions. You get a minor speed up by unsetting this.
|
;; various path/io functions. You get a minor speed up by unsetting this.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue