mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 22:20:24 -08:00
(text-mode): Use mode-require-final-newline.
This commit is contained in:
parent
7e63064822
commit
706d2537e1
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue