From ce1ee19a2d810d2ccc8bd4ab2cef72688728b5fa Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 8 Aug 2023 15:13:16 -0400 Subject: [PATCH] .emacs: show trailing whitespace better The show-trailing-whitespace option was set with custom-set-variables, probably because it doesn't work with plain setq (becausee it's a buffer-local variable). However setq-default does the job, and prevents the emacs UI from interfering with it. --- .emacs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs b/.emacs index 1b48bd7..8f88dc3 100644 --- a/.emacs +++ b/.emacs @@ -90,4 +90,4 @@ (put 'downcase-region 'disabled nil) ;; I want to see trailing whitespace. -(custom-set-variables '(show-trailing-whitespace t)) +(setq-default show-trailing-whitespace t) -- 2.43.2