Merge pull request #549 from toctan/require-eof

Newline at end of file
This commit is contained in:
Bozhidar Batsov 2014-05-26 19:14:19 +03:00
commit af4137fe0c
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View file

@ -20,3 +20,4 @@ projectile-bookmarks.eld
session*
.cask
tramp
/var/pcache

View file

@ -45,6 +45,9 @@
(setq-default indent-tabs-mode nil) ;; don't use tabs to indent
(setq-default tab-width 8) ;; but maintain correct appearance
;; Newline at end of file
(setq require-final-newline t)
;; delete the selection with a keypress
(delete-selection-mode t)