1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00

(paragraph-indent-text-mode-abbrev-table)

(paragraph-indent-text-mode-syntax-table, paragraph-indent-text-mode):
Use text-mode's syntax-table and abbrev-table.
(text-mode): Set require-final-newline to t.
This commit is contained in:
Stefan Monnier 2002-09-03 01:59:51 +00:00
parent 3674a4a93f
commit 81cb34cd03

View File

@ -67,8 +67,11 @@ 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 'indent-line-function) 'indent-relative))
(defvar paragraph-indent-text-mode-abbrev-table text-mode-abbrev-table)
(defvar paragraph-indent-text-mode-syntax-table text-mode-syntax-table)
(define-derived-mode paragraph-indent-text-mode text-mode "Parindent"
"Major mode for editing text, with leading spaces starting a paragraph.
In this mode, you do not need blank lines between paragraphs