mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix: disable non-essential startup optimizations in debug-mode
As to not interfere with debugging.
This commit is contained in:
@ -390,6 +390,7 @@ 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
|
||||
@ -464,7 +465,7 @@ users).")
|
||||
(unless IS-MAC
|
||||
(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)))))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user