diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/emacs/sanemacs.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/emacs/sanemacs.el b/config/emacs/sanemacs.el index a59b862..5615971 100644 --- a/config/emacs/sanemacs.el +++ b/config/emacs/sanemacs.el @@ -21,6 +21,10 @@ show-trailing-whitespace t tab-width 4) (load-theme 'modus-vivendi) +(defun sanemacs/hide-trailing-whitespace () + "Hides trailing whitespace for the current buffer." + (setq show-trailing-whitespace nil)) +(add-hook 'Buffer-menu-mode-hook #'sanemacs/hide-trailing-whitespace) ;; Configure features to use `.cache` directory (setq |
