(text-mode): Use mode-require-final-newline.
authorRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:58:41 +0000 (14:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 31 Dec 2004 14:58:41 +0000 (14:58 +0000)
lisp/textmodes/text-mode.el

index d20a67d..ebe4a57 100644 (file)
@@ -68,7 +68,8 @@ You can thus get the full benefit of adaptive filling
 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"