replace whitespace-cleanup with delete-trailing-whitespace
whitespace-cleanup seems to do some formatting, tabs-to-whitespace and vice versa,... which are kinda annoying. We should be fine for now with just removing trailing whitespaces.
This commit is contained in:
parent
706b396e1c
commit
423acecb38
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ The audible bell is annoying AF.
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package whitespace
|
||||
:ensure nil
|
||||
:hook (before-save-hook . whitespace-cleanup)
|
||||
:hook (before-save-hook . delete-trailing-whitespace)
|
||||
;; if we wanna remove this hook at any time, eval:
|
||||
;; (remove-hook 'before-save-hook #'whitespace-cleanup)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue