emacs - no trailing whitespace in buffer menu

This commit is contained in:
madmaurice 2017-10-17 12:47:54 +02:00
parent 540b0ed4f5
commit e1490649e1

View file

@ -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)