diff lisp/textmodes/text-mode.el @ 26544:1551195f02c3

(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.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 22 Nov 1999 16:13:49 +0000
parents 3f3121176533
children 7c28a5765af4
line wrap: on
line diff
--- a/lisp/textmodes/text-mode.el	Mon Nov 22 15:20:32 1999 +0000
+++ b/lisp/textmodes/text-mode.el	Mon Nov 22 16:13:49 1999 +0000
@@ -75,7 +75,7 @@
   (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)