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.
Alan Pearce alan@alanpearce.uk
Fri, 28 Apr 2017 15:09:23 +0200
1 files changed, 0 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/init.org → emacs/.emacs.d/init.org
@@ -696,7 +696,6 @@ (interactive) (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