mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(text-mode): Locally set indent-line-function.
This commit is contained in:
parent
0322a154b7
commit
857615335f
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue