tweak: enable startup optimizations in debug mode
Before this, startup optimizations were disabled in debug mode, but more often than not, this just made it difficult to reproduce some errors at startup.
This commit is contained in:
parent
9447e82074
commit
f71689304e
1 changed files with 89 additions and 90 deletions
|
@ -433,7 +433,6 @@ users).")
|
|||
(doom-partial #'tty-run-terminal-initialization
|
||||
(selected-frame) nil t))))
|
||||
|
||||
(unless init-file-debug
|
||||
;; PERF,UX: Site files tend to use `load-file', which emits "Loading X..."
|
||||
;; messages in the echo area. Writing to the echo-area triggers a
|
||||
;; redisplay, which can be expensive during startup. This may also cause
|
||||
|
@ -529,7 +528,7 @@ users).")
|
|||
(unless doom--system-macos-p
|
||||
(setq command-line-ns-option-alist nil))
|
||||
(unless (memq initial-window-system '(x pgtk))
|
||||
(setq command-line-x-option-alist nil)))))
|
||||
(setq command-line-x-option-alist nil))))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue