all repos — nixfiles @ e2f1b8d344cd2a851663bd90db26bb1036424957

System and user configuration, managed by nix and home-manager

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
commit

e2f1b8d344cd2a851663bd90db26bb1036424957

parent

f9568b1426b41ac68b4839987ceb863296647374

1 file changed, 0 insertions(+), 1 deletion(-)

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