summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-12-31 14:58:41 +0000
committerRichard M. Stallman <rms@gnu.org>2004-12-31 14:58:41 +0000
commit706d2537e153d963d9e42efc66fc29034a35f80c (patch)
tree867d84e3f831f1c0d364242accc7f02d5ffbba0c /lisp/textmodes
parent7e630648221df688124074fb8b7f6a42130ac05b (diff)
downloademacs-706d2537e153d963d9e42efc66fc29034a35f80c.tar.gz
emacs-706d2537e153d963d9e42efc66fc29034a35f80c.tar.bz2
emacs-706d2537e153d963d9e42efc66fc29034a35f80c.zip
(text-mode): Use mode-require-final-newline.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/text-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el
index d20a67db146..ebe4a57a2e9 100644
--- a/lisp/textmodes/text-mode.el
+++ b/lisp/textmodes/text-mode.el
@@ -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"