diff --git a/early-init.el b/early-init.el index 09e759a..62d3115 100644 --- a/early-init.el +++ b/early-init.el @@ -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) diff --git a/init.el b/init.el index 94f397e..f9153e8 100644 --- a/init.el +++ b/init.el @@ -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)