From e1490649e15f008afe8e16d4cf55a656ac72e2d4 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Tue, 17 Oct 2017 12:47:54 +0200 Subject: [PATCH] emacs - no trailing whitespace in buffer menu --- emacs/.emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index a6ff560..e0df1f1 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -148,6 +148,9 @@ (whitespace-cleanup))) (add-hook 'before-save-hook 'buffer-cleanup-whitespace) (setq-default show-trailing-whitespace t) +;; Buffer Menu does trailing whitespace, don't show them +(add-hook 'buffer-menu-mode-hook + (lambda () (setq-local show-trailing-whitespace nil))) ;; ensure repo cache is up1date (or (file-exists-p package-user-dir)