about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-ui.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-11-08 16:06:10 +0000
committerDavid Morgan <djm_uk@protonmail.com>2024-11-08 16:06:10 +0000
commita1545d1a841ddeb7f41ff14b801afadf068268f8 (patch)
treeafea81dd5a0671933c3c2f65b3811d655e5ed87e /.emacs.d/lisp/init-ui.el
parentc533588b8d754231c1e0be800c6d8eb29067662a (diff)
downloaddotfiles-a1545d1a841ddeb7f41ff14b801afadf068268f8.tar.gz
Remove unnecessary lambda
Diffstat (limited to '.emacs.d/lisp/init-ui.el')
-rw-r--r--.emacs.d/lisp/init-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el
index c1450b9..354f187 100644
--- a/.emacs.d/lisp/init-ui.el
+++ b/.emacs.d/lisp/init-ui.el
@@ -131,7 +131,7 @@
   (dolist (mode whitespace-disabled-modes)
     (add-hook (intern (concat (symbol-name mode) "-hook")) #'turn-off-whitespace-mode))
   :hook
-  ((text-mode prog-mode) . (lambda () (whitespace-mode +1))))
+  ((text-mode prog-mode) . whitespace-mode))
 
 (use-package goggles
   :diminish