mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(text-mode): Locally set indent-line-function.
This commit is contained in:
parent
0322a154b7
commit
857615335f
@ -78,6 +78,8 @@ Turning on Text mode runs the normal hook `text-mode-hook'."
|
||||
(setq paragraph-start (concat "[ \t]*$\\|" page-delimiter))
|
||||
(make-local-variable 'paragraph-separate)
|
||||
(setq paragraph-separate paragraph-start)
|
||||
(make-local-variable 'indent-line-function)
|
||||
(setq indent-line-function 'indent-relative-maybe)
|
||||
(setq mode-name "Text")
|
||||
(setq major-mode 'text-mode)
|
||||
(run-hooks 'text-mode-hook))
|
||||
|
Loading…
Reference in New Issue
Block a user