From 326c7996d27f9f5a61e787064c57716811fd83a4 Mon Sep 17 00:00:00 2001 From: Szymon Szukalski Date: Fri, 10 Apr 2026 18:33:19 +1000 Subject: raw dogging it --- early-init.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 early-init.el (limited to 'early-init.el') diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..af7274d --- /dev/null +++ b/early-init.el @@ -0,0 +1,17 @@ +;;; early-init.el --- minimal early startup config -*- lexical-binding: t; -*- + +;; Keep startup work cheap, then restore saner values from init.el. +(setq gc-cons-threshold most-positive-fixnum + gc-cons-percentage 0.6) + +;; Let init.el control package initialisation. +(setq package-enable-at-startup nil) + +;; Trim obvious GUI chrome early to reduce flicker. +(menu-bar-mode -1) +(tool-bar-mode -1) +(scroll-bar-mode -1) + +;; Conservative initial frame size. +(add-to-list 'default-frame-alist '(width . 140)) +(add-to-list 'default-frame-alist '(height . 42)) -- cgit v1.2.3