.emacs-my
changeset 208 7f2831d8e9cb
parent 207 9c5a1d6f19c8
child 211 a07b53a7b415
--- a/.emacs-my	Wed Dec 02 23:46:58 2009 +0200
+++ b/.emacs-my	Thu Dec 03 21:40:56 2009 +0200
@@ -85,8 +85,9 @@
 
 (setq frame-title-format "Emacs - %b")
 
-;; Always end a file with a newline.
-;; (setq require-final-newline t)
+;; Control if end of file end with newline.
+;; See also 'mode-require-final-newline'.
+(add-hook 'text-mode-hook (lambda () (setq require-final-newline nil)))
 
 (setq read-quoted-char-radix 16)