summary refs log tree commit diff stats
path: root/user/emacs/early-init.el
blob: 29dadb928ec327d3ebe659eb52203507d7e3c3d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(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))