summaryrefslogtreecommitdiff
path: root/emacs/.config/emacs-kj/early-init.el
blob: fde5f3ebf5354be45893eee685ca979298ffaf6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;;; 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)
;; These log messages are too annoying.
(setq native-comp-async-report-warnings-errors 'silent)
(add-hook 'window-setup-hook
          (lambda ()
            (setq-default inhibit-redisplay nil
                          inhibit-message nil)
            (redisplay)))

(setq package-enable-at-startup nil)

(setq default-frame-alist '((undecorated . t)))
(tool-bar-mode -1)
(scroll-bar-mode -1)
(tooltip-mode -1)
(menu-bar-mode -1)