diff options
| author | Richard M. Stallman | 2004-12-31 14:58:41 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-12-31 14:58:41 +0000 |
| commit | 706d2537e153d963d9e42efc66fc29034a35f80c (patch) | |
| tree | 867d84e3f831f1c0d364242accc7f02d5ffbba0c | |
| parent | 7e630648221df688124074fb8b7f6a42130ac05b (diff) | |
| download | emacs-706d2537e153d963d9e42efc66fc29034a35f80c.tar.gz emacs-706d2537e153d963d9e42efc66fc29034a35f80c.zip | |
(text-mode): Use mode-require-final-newline.
| -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 | |||
| 68 | Turning on Text mode runs the normal hook `text-mode-hook'." | 68 | Turning on Text mode runs the normal hook `text-mode-hook'." |
| 69 | (make-local-variable 'text-mode-variant) | 69 | (make-local-variable 'text-mode-variant) |
| 70 | (setq text-mode-variant t) | 70 | (setq text-mode-variant t) |
| 71 | (set (make-local-variable 'require-final-newline) t) | 71 | (set (make-local-variable 'require-final-newline) |
| 72 | mode-require-final-newline) | ||
| 72 | (set (make-local-variable 'indent-line-function) 'indent-relative)) | 73 | (set (make-local-variable 'indent-line-function) 'indent-relative)) |
| 73 | 74 | ||
| 74 | (define-derived-mode paragraph-indent-text-mode text-mode "Parindent" | 75 | (define-derived-mode paragraph-indent-text-mode text-mode "Parindent" |