Move frame-resize-pixelwise to early-init.el
This commit is contained in:
@@ -218,6 +218,10 @@ pre-early-init.el, and post-early-init.el.")
|
|||||||
(setq inhibit-compacting-font-caches t)
|
(setq inhibit-compacting-font-caches t)
|
||||||
|
|
||||||
(when (and (not (daemonp)) (not noninteractive))
|
(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
|
;; Without this, Emacs will try to resize itself to a specific column size
|
||||||
(setq frame-inhibit-implied-resize t)
|
(setq frame-inhibit-implied-resize t)
|
||||||
|
|
||||||
|
|||||||
4
init.el
4
init.el
@@ -233,10 +233,6 @@
|
|||||||
|
|
||||||
;;; Frames and windows
|
;;; 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
|
;; However, do not resize windows pixelwise, as this can cause crashes in some
|
||||||
;; cases when resizing too many windows at once or rapidly.
|
;; cases when resizing too many windows at once or rapidly.
|
||||||
(setq window-resize-pixelwise nil)
|
(setq window-resize-pixelwise nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user