summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-04-28 15:09:23 +0200
committerAlan Pearce2017-04-28 15:09:23 +0200
commite2f1b8d344cd2a851663bd90db26bb1036424957 (patch)
tree3b12c115242e685c68209b926ccf4c20ec6eabe9 /emacs
parentf9568b1426b41ac68b4839987ceb863296647374 (diff)
downloadnixfiles-e2f1b8d344cd2a851663bd90db26bb1036424957.tar.lz
nixfiles-e2f1b8d344cd2a851663bd90db26bb1036424957.tar.zst
nixfiles-e2f1b8d344cd2a851663bd90db26bb1036424957.zip
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.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org1
1 files changed, 0 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 35123dfe..e83f048b 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