From 4113bc6bc5893c04b36622a715da7e265c33a45a Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 22 Mar 2025 16:23:33 +0100 Subject: [PATCH] Move some frame configuration to early-init Inspired by https://github.com/LionyxML/emacs-solo/blob/main/early-init.el. I am not quite sure whether this will have much effect, though. --- early-init.el | 3 +++ init.el | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index db64ecd..c275119 100644 --- a/early-init.el +++ b/early-init.el @@ -13,3 +13,6 @@ (lambda () (setq gc-cons-threshold (* 100 1024 1024) ; 100mb gc-cons-percentage 0.1))) + +(setq frame-resize-pixelwise t + frame-inhibit-implied-resize t) diff --git a/init.el b/init.el index d9ba7cb..c5440fc 100644 --- a/init.el +++ b/init.el @@ -116,7 +116,6 @@ ;; Startup configuration (setq inhibit-startup-message t inhibit-default-init t - frame-inhibit-implied-resize t initial-scratch-message nil initial-major-mode 'fundamental-mode ring-bell-function #'ignore