aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--early-init.el33
1 files changed, 32 insertions, 1 deletions
diff --git a/early-init.el b/early-init.el
index 21ebdea..24b53b0 100644
--- a/early-init.el
+++ b/early-init.el
@@ -1,6 +1,37 @@
1;;; -*- lexical-binding: t; -*- 1;;; -*- lexical-binding: t; -*-
2;;; init.el 2;;; early-init.el
3;; 3;;
4;; Early Init file for MMOSMacs. This is loaded before the GUI and 4;; Early Init file for MMOSMacs. This is loaded before the GUI and
5;; package system are initialized. This should contain only what 5;; package system are initialized. This should contain only what
6;; absolutely must be in Early Init. 6;; absolutely must be in Early Init.
7
8
9;; ---------------------------------------------------------------------
10;;; UI Adjustments
11;; ---------------
12;; The primary goal of this Section is to prevent Emacs from flashing or
13;; stuttering visually on startup.
14;;
15;; If these customizations were placed in `init.el', as is the norm,
16;; Emacs would initialize the UI elements, then make whatever
17;; customizations we wrote.
18;;
19;; By placing the customizations here, they are applied before the UI is
20;; initialized, preventing any visual glitches altogether.
21;; ---------------------------------------------------------------------
22
23;; ---------------------------------
24;; Disable superfluous UI elements
25;; -------------------------------
26;; These UI elements are useless in
27;; a keyboard-centric environment.
28;; ---------------------------------
29
30;; Disable the menu bar
31(push '(menu-bar-lines . 0) default-frame-alist)
32
33;; Disable the tool-bar
34(push '(tool-bar-lines . 0) default-frame-alist)
35
36;; Disable scroll bars
37(push '(vertical-scroll-bars . 0) default-frame-alist)