This commit is contained in:
Your Name
2026-05-10 01:05:57 +02:00
commit f3cb5a6e26
19 changed files with 2741 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
;;; early-init.el -*- lexical-binding: t; -*-
;; Prevent package.el from loading at startup (elpaca handles it)
(setq package-enable-at-startup nil)
;; Disable UI elements early for faster frame rendering
(setq inhibit-startup-screen t
inhibit-startup-echo-area-message user-login-name
initial-scratch-message nil
initial-major-mode 'fundamental-mode
frame-inhibit-implied-resize t
garbage-collection-messages t)
;; Temporarily raise GC threshold during startup
(setq gc-cons-threshold most-positive-fixnum
gc-cons-percentage 0.6)
;; Disable UI chrome
(dolist (mode '(menu-bar-mode tool-bar-mode scroll-bar-mode))
(when (fboundp mode) (funcall mode -1)))