summary refs log tree commit diff stats
path: root/user/emacs/early-init.el
blob: f2212c69dcc18c72eb569a48fff634920e7161ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(defvar package-quickstart t)
(setq inhibit-startup-screen t
      initial-scratch-message ""
      initial-major-mode 'fundamental-mode
      frame-inhibit-implied-resize t
      byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local cl-functions))

;; Disable all the bars, unless on macOS, in which case, keep the menu bar.
(unless (eq window-system 'ns)
  (menu-bar-mode -1))
(scroll-bar-mode -1)
(tool-bar-mode -1)
(set-fringe-mode '(4 . 4))