# HG changeset patch # User Oleksandr Gavenko # Date 1259869256 -7200 # Node ID 7f2831d8e9cbaa671c621f5b18c814c2d6e1d54d # Parent 9c5a1d6f19c8ad407f0e1b68961d93d7e50443b3 Do not end file with newline. diff -r 9c5a1d6f19c8 -r 7f2831d8e9cb .emacs-my --- 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)