diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-12-31 14:58:41 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-12-31 14:58:41 +0000 |
commit | 706d2537e153d963d9e42efc66fc29034a35f80c (patch) | |
tree | 867d84e3f831f1c0d364242accc7f02d5ffbba0c /lisp/textmodes | |
parent | 7e630648221df688124074fb8b7f6a42130ac05b (diff) | |
download | emacs-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.el | 3 |
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" |