From a1545d1a841ddeb7f41ff14b801afadf068268f8 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Fri, 8 Nov 2024 16:06:10 +0000 Subject: Remove unnecessary lambda --- .emacs.d/lisp/init-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0