summaryrefslogtreecommitdiff
path: root/lisp/textmodes/text-mode.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-11-22 16:14:41 +0000
committerGerd Moellmann <gerd@gnu.org>1999-11-22 16:14:41 +0000
commit855b9e3374162932cf331c17c6b2d50ddb54e8c9 (patch)
tree7bb805b25a0a92a1dab7162d4862d3b8f227739c /lisp/textmodes/text-mode.el
parent98e85e34652fc3552f24dab523bf50f222e0596b (diff)
downloademacs-855b9e3374162932cf331c17c6b2d50ddb54e8c9.tar.gz
(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.
Diffstat (limited to 'lisp/textmodes/text-mode.el')
-rw-r--r--lisp/textmodes/text-mode.el2
1 files changed, 1 insertions, 1 deletions
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)