changeset 22631:3f3121176533

(text-mode): Locally set indent-line-function.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Jun 1998 22:23:43 +0000
parents e4a895537576
children 187c9bf1aab6
files lisp/textmodes/text-mode.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/text-mode.el	Sat Jun 27 21:59:11 1998 +0000
+++ b/lisp/textmodes/text-mode.el	Sat Jun 27 22:23:43 1998 +0000
@@ -78,6 +78,8 @@
   (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))