Require a final newline on both visiting and saving a file

This commit is contained in:
Vincent Ambo 2013-08-07 00:58:14 +02:00
parent 503600091e
commit 494cda1ac0
2 changed files with 3 additions and 2 deletions

2
.gitignore vendored
View file

@ -7,4 +7,4 @@ init-irc.el
init-local.el
other/
scripts/
themes/
themes/

View file

@ -14,7 +14,8 @@
(capitalized-words-mode turn-on-haskell-decl-scan turn-on-haskell-doc turn-on-hi2)))
'(it-mode-google-cmd "/usr/local/share/python/google")
'(ns-alternate-modifier (quote none))
'(ns-command-modifier (quote meta)))
'(ns-command-modifier (quote meta))
'(require-final-newline (quote visit-save)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.