summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-12-01 11:07:17 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-12-01 11:07:17 +0100
commitb9cd9fa20a1c3c83452b8e77afb676b72bc28317 (patch)
tree4215dc562f1983a88eca2ead882be6fa41484f1b /.config/emacs/init.el
parent692057e47a19be54cbe93ee63840149c3fe97140 (diff)
emacs: Don’t show trailing whitespace by default
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 0c028ed..8726462 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -217,12 +217,6 @@ buffer suppressed."
(add-hook 'before-save-hook #'delete-trailing-whitespace)
(prefer-coding-system 'utf-8)
- ;; Show trailing whitespace but only in relevant buffers
- (dolist (mode '(conf-mode prog-mode text-mode))
- (add-hook (mm-mode-to-hook mode)
- (defun mm-show-trailing-whitespace ()
- (setopt show-trailing-whitespace t))))
-
;; Disabled modes
(blink-cursor-mode -1)
(line-number-mode -1)