summaryrefslogtreecommitdiff
path: root/emacs/.config/emacs-kj/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.config/emacs-kj/early-init.el')
-rw-r--r--emacs/.config/emacs-kj/early-init.el18
1 files changed, 18 insertions, 0 deletions
diff --git a/emacs/.config/emacs-kj/early-init.el b/emacs/.config/emacs-kj/early-init.el
index 512068a..95acd2e 100644
--- a/emacs/.config/emacs-kj/early-init.el
+++ b/emacs/.config/emacs-kj/early-init.el
@@ -1 +1,19 @@
+;;; early-init.el -*- lexical-binding: t; -*-
+
+;; Defer garbage collection further back in the startup process
+(setq gc-cons-threshold most-positive-fixnum)
+
+(setq-default inhibit-redisplay t
+ inhibit-message t)
+(add-hook 'window-setup-hook
+ (lambda ()
+ (setq-default inhibit-redisplay nil
+ inhibit-message nil)
+ (redisplay)))
+
(setq package-enable-at-startup nil)
+
+(tool-bar-mode -1)
+(scroll-bar-mode -1)
+(tooltip-mode -1)
+(menu-bar-mode -1)