summaryrefslogtreecommitdiff
path: root/early-init.el
blob: af7274d3d650a3d04c4a695714e49d8ad1dc8faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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))