require newlines on all files
This commit is contained in:
parent
a27f3af5ae
commit
8b4af5d175
|
@ -73,6 +73,9 @@
|
|||
;; Mark files with shebangs as executable automatically (thanks archenoth!)
|
||||
(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
|
||||
|
||||
;; Always require final newline
|
||||
(setq-default require-final-newline t)
|
||||
|
||||
;; delete trailing whitespace before saving
|
||||
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
||||
|
||||
|
|
Loading…
Reference in New Issue