IC
This commit is contained in:
@@ -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)))
|
||||
Reference in New Issue
Block a user