From: Michael Orlitzky Date: Tue, 8 Aug 2023 19:13:16 +0000 (-0400) Subject: .emacs: show trailing whitespace better X-Git-Url: http://gitweb.michael.orlitzky.com/?p=emacs.d.git;a=commitdiff_plain;h=ce1ee19a2d810d2ccc8bd4ab2cef72688728b5fa .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. --- 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)