aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/text-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el
index 2a51f03e4b3..c0627b640f4 100644
--- a/lisp/textmodes/text-mode.el
+++ b/lisp/textmodes/text-mode.el
@@ -78,6 +78,8 @@ Turning on Text mode runs the normal hook `text-mode-hook'."
78 (setq paragraph-start (concat "[ \t]*$\\|" page-delimiter)) 78 (setq paragraph-start (concat "[ \t]*$\\|" page-delimiter))
79 (make-local-variable 'paragraph-separate) 79 (make-local-variable 'paragraph-separate)
80 (setq paragraph-separate paragraph-start) 80 (setq paragraph-separate paragraph-start)
81 (make-local-variable 'indent-line-function)
82 (setq indent-line-function 'indent-relative-maybe)
81 (setq mode-name "Text") 83 (setq mode-name "Text")
82 (setq major-mode 'text-mode) 84 (setq major-mode 'text-mode)
83 (run-hooks 'text-mode-hook)) 85 (run-hooks 'text-mode-hook))