summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-buffile.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-buffile.el b/lisp/init-buffile.el
index 15e3d54..735dcb6 100644
--- a/lisp/init-buffile.el
+++ b/lisp/init-buffile.el
@@ -2,7 +2,8 @@
(require 'uniquify)
-(setq uniquify-buffer-name-style 'forward)
+(setq uniquify-buffer-name-style 'forward
+ require-final-newline t)
(defun km/rename-current-buffer-file ()
"Rename current buffer and file it is visiting."