diff options
-rw-r--r-- | lisp/init-editing.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el index c13df37..ca7573b 100644 --- a/lisp/init-editing.el +++ b/lisp/init-editing.el @@ -211,7 +211,8 @@ touches." (defun km/cleanup-buffer () (interactive) (unless km/prevent-cleanup - (whitespace-cleanup))) + (whitespace-cleanup) + (delete-trailing-whitespace))) (define-key km/editing-map "t" 'km/toggle-prevent-cleanup) |