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