From 855b9e3374162932cf331c17c6b2d50ddb54e8c9 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 22 Nov 1999 16:14:41 +0000 Subject: (text-mode): Contruct paragraph-start so that the leading `^' is at the start. This is necessary because paragraphs.el tries to remove anchors, but can find them only if they are the first character. --- lisp/textmodes/text-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/textmodes/text-mode.el') diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index c0627b640f4..0c4be23ab60 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el @@ -75,7 +75,7 @@ Turning on Text mode runs the normal hook `text-mode-hook'." (setq local-abbrev-table text-mode-abbrev-table) (set-syntax-table text-mode-syntax-table) (make-local-variable 'paragraph-start) - (setq paragraph-start (concat "[ \t]*$\\|" page-delimiter)) + (setq paragraph-start (concat page-delimiter "\\|[ \t]*$")) (make-local-variable 'paragraph-separate) (setq paragraph-separate paragraph-start) (make-local-variable 'indent-line-function) -- cgit v1.2.1