Delete trailing whitespaces before-saving
Enable globally because I don't know of a scenario where we would ever want this.
This commit is contained in:
parent
b8ef2937f3
commit
9541cfbf44
1 changed files with 8 additions and 4 deletions
|
|
@ -57,6 +57,12 @@
|
|||
|
||||
* General config
|
||||
|
||||
** Delete trailing whitespaces
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
||||
#+END_SRC
|
||||
|
||||
** Save history and recent files
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
|
@ -373,5 +379,3 @@ https://github.com/remyferre/comment-dwim-2
|
|||
(define-key projectile-mode-map (kbd "C-x p") 'projectile-command-map)
|
||||
(projectile-mode +1)
|
||||
)
|
||||
|
||||
#+END_SRC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue