From e2f1b8d344cd2a851663bd90db26bb1036424957 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 28 Apr 2017 15:09:23 +0200 Subject: Emacs: Disable show-trailing-whitespace by default This should avoid it being enabled in "special" buffers. As it's already turned on in prog-mode-hook and text-mode-hook, this should work nicely. --- emacs/.emacs.d/init.org | 1 - 1 file changed, 1 deletion(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 35123df..e83f048 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -696,7 +696,6 @@ Show bad whitespace, so that I can fix it. (setq-local show-trailing-whitespace nil)) (add-hook 'prog-mode-hook #'show-trailing-whitespace-on) (add-hook 'text-mode-hook #'show-trailing-whitespace-on) -(setq-default show-trailing-whitespace t) #+END_SRC ** shrink-whitespace -- cgit 1.4.1