changeset 59255:bf01ac46d369

(text-mode): Use mode-require-final-newline.
author Richard M. Stallman <rms@gnu.org>
date Fri, 31 Dec 2004 14:58:41 +0000
parents 0b36787d3411
children 0319769cd289
files lisp/textmodes/text-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/text-mode.el	Fri Dec 31 14:58:20 2004 +0000
+++ b/lisp/textmodes/text-mode.el	Fri Dec 31 14:58:41 2004 +0000
@@ -68,7 +68,8 @@
 Turning on Text mode runs the normal hook `text-mode-hook'."
   (make-local-variable 'text-mode-variant)
   (setq text-mode-variant t)
-  (set (make-local-variable 'require-final-newline) t)
+  (set (make-local-variable 'require-final-newline)
+       mode-require-final-newline)
   (set (make-local-variable 'indent-line-function) 'indent-relative))
 
 (define-derived-mode paragraph-indent-text-mode text-mode "Parindent"