emacs - no trailing whitespace in buffer menu
This commit is contained in:
parent
540b0ed4f5
commit
e1490649e1
1 changed files with 3 additions and 0 deletions
|
@ -148,6 +148,9 @@
|
||||||
(whitespace-cleanup)))
|
(whitespace-cleanup)))
|
||||||
(add-hook 'before-save-hook 'buffer-cleanup-whitespace)
|
(add-hook 'before-save-hook 'buffer-cleanup-whitespace)
|
||||||
(setq-default show-trailing-whitespace t)
|
(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
|
;; ensure repo cache is up1date
|
||||||
(or (file-exists-p package-user-dir)
|
(or (file-exists-p package-user-dir)
|
||||||
|
|
Loading…
Reference in a new issue