summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/early-init.el b/early-init.el index 60889f8..f993d03 100644 --- a/early-init.el +++ b/early-init.el
@@ -76,11 +76,11 @@
76(defun hook--disable-ui-modes () 76(defun hook--disable-ui-modes ()
77 "Disable frame UI using modes, for toggling later." 77 "Disable frame UI using modes, for toggling later."
78 (dolist (mode ;; each mode is of the form (MODE . FRAME-ALIST-VAR) 78 (dolist (mode ;; each mode is of the form (MODE . FRAME-ALIST-VAR)
79 '((tool-bar-mode . tool-bar-lines) 79 '((tool-bar-mode . tool-bar-lines)
80 (menu-bar-mode . menu-bar-lines) 80 (menu-bar-mode . menu-bar-lines)
81 (scroll-bar-mode . vertical-scroll-bars) 81 (scroll-bar-mode . vertical-scroll-bars)
82 (horizontal-scroll-bar-mode . horizontal-scroll-bars) 82 (horizontal-scroll-bar-mode . horizontal-scroll-bars)
83 )) 83 ))
84 (let ((setting (alist-get (cdr mode) default-frame-alist))) 84 (let ((setting (alist-get (cdr mode) default-frame-alist)))
85 (when (or (not setting) 85 (when (or (not setting)
86 (= 0 setting)) 86 (= 0 setting))