-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathearly-init.el
27 lines (22 loc) · 1.1 KB
/
early-init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
;; Defer garbage collection further back in the startup process
(setq gc-cons-threshold most-positive-fixnum)
(setq package-enable-at-startup nil)
(setq initial-frame-alist '((width . 250)
(height . 100)
(tool-bar-lines . 0)
(left-fringe . 0)
(right-fringe . 0)
(bottom-divider-width . 0)
(right-divider-width . 1))
default-frame-alist initial-frame-alist)
;; Resizing the Emacs frame can be a terribly expensive part of changing the
;; font. By inhibiting this, we easily halve startup times with fonts that are
;; larger than the system default.
(setq frame-inhibit-implied-resize t
x-gtk-resize-child-frames 'resize-mode)
;; Ignore X resources; its settings would be redundant with the other settings
;; in this file and can conflict with later config (particularly where the
;; cursor color is concerned).
(advice-add #'x-apply-session-resources :override #'ignore)
(setq initial-scratch-message nil)
(setq inhibit-startup-screen t)