summary refs log tree commit diff stats
path: root/early-init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-04-01 16:41:41 -0500
committerCase Duckworth2021-04-01 16:41:41 -0500
commit9af70cbf60e78309a3902315a7d444877677fdfe (patch)
tree6ca4570c50329b9668cc2669a26a6bb8151ce336 /early-init.el
parentAdd comments (diff)
downloademacs-9af70cbf60e78309a3902315a7d444877677fdfe.tar.gz
emacs-9af70cbf60e78309a3902315a7d444877677fdfe.zip
Define `acdw/reindent-buffer' and hook into elisp
Hopefully this will put a halt to all of my whitespace commits.  Of course, this
commit also includes whitespace-only diffs.
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))