feat: no startup optimizations if debug mode is on

This commit is contained in:
Henrik Lissner 2022-02-17 21:12:40 +01:00
parent 81629dc2ad
commit a831946afb
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -23,7 +23,9 @@
;; to skip the mtime checks on every *.elc file.
(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))
;; `file-name-handler-alist' is consulted on each `require', `load' and
;; various path/io functions. You get a minor speed up by unsetting this.