Move frame-resize-pixelwise to early-init.el

This commit is contained in:
James Cherti
2025-06-14 14:25:05 -04:00
parent 991671323b
commit 2a170f3f03
2 changed files with 4 additions and 4 deletions

View File

@@ -218,6 +218,10 @@ pre-early-init.el, and post-early-init.el.")
(setq inhibit-compacting-font-caches t)
(when (and (not (daemonp)) (not noninteractive))
;; Resizing the Emacs frame can be costly when changing the font. Disable this
;; to improve startup times with fonts larger than the system default.
(setq frame-resize-pixelwise t)
;; Without this, Emacs will try to resize itself to a specific column size
(setq frame-inhibit-implied-resize t)

View File

@@ -233,10 +233,6 @@
;;; Frames and windows
;; Resizing the Emacs frame can be costly when changing the font. Disable this
;; to improve startup times with fonts larger than the system default.
(setq frame-resize-pixelwise t)
;; However, do not resize windows pixelwise, as this can cause crashes in some
;; cases when resizing too many windows at once or rapidly.
(setq window-resize-pixelwise nil)