diff options
Diffstat (limited to 'early-init.el')
| -rw-r--r-- | early-init.el | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..af7274d --- /dev/null +++ b/early-init.el @@ -0,0 +1,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)) |
