Commit 706d2537 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(text-mode): Use mode-require-final-newline.

parent 7e630648
......@@ -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)
(set (make-local-variable 'indent-line-function) 'indent-relative))
(define-derived-mode paragraph-indent-text-mode text-mode "Parindent"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment