about summary refs log tree commit diff
path: root/init-custom.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-08-06T22·58+0200
committerVincent Ambo <vincent@spotify.com>2013-08-06T22·58+0200
commit494cda1ac0728f20b6a6372a6cc5c51aa248a71b (patch)
tree8118760ff6b1182345b1dfdd59049c787494467e /init-custom.el
parent503600091e63ebe63c8a84ec6b8a6120ff89dc23 (diff)
Require a final newline on both visiting and saving a file
Diffstat (limited to 'init-custom.el')
-rw-r--r--init-custom.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init-custom.el b/init-custom.el
index 2b2916143f6d..22e37bfa62b4 100644
--- a/init-custom.el
+++ b/init-custom.el
@@ -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.