dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

commit 56d855d523a633d7280c8a6513290a404a43bedb
parent c95d2c531fb87595144e3640e401c9ca281ec6c0
Author: Lukas Henkel <lh@entf.net>
Date:   Thu, 19 Oct 2023 20:31:42 +0200

show-trailing-whitespace only in prog-mode

Diffstat:
Minit.el | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/init.el b/init.el @@ -246,6 +246,9 @@ ;; Aggressive Intent mode causes 100% CPU for me whenever the sly repl prints warnings (add-hook 'sly-mrepl-mode-hook (lambda () (aggressive-indent-mode -1))) (add-hook 'embark-collect-mode-hook 'consult-preview-at-point-mode) +(add-hook 'prog-mode-hook + (lambda () + (setq-local show-trailing-whitespace t))) ;; notmuch's tag selection doesnt work with consult-completing-read-multiple ;; items need to be trimmed @@ -389,7 +392,6 @@ '(save-place-mode t) '(savehist-mode t) '(scroll-conservatively 100) - '(show-trailing-whitespace t) '(tab-always-indent 'complete) '(use-short-answers t) '(warning-suppress-types '((comp)))