all repos — archive/dotfiles @ e2f1b8d344cd2a851663bd90db26bb1036424957

Superseded by nixfiles

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
commit

e2f1b8d344cd2a851663bd90db26bb1036424957

parent

f9568b1426b41ac68b4839987ceb863296647374

1 files changed, 0 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.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