(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.
This commit is contained in:
Gerd Moellmann 1999-11-22 16:14:41 +00:00
parent 98e85e3465
commit 855b9e3374
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
1999-11-22 Gerd Moellmann <gerd@gnu.org>
* textmodes/text-mode.el (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.
* progmodes/antlr-mode.el: New file.
* calendar/calendar.el: Fix autoload for

View file

@ -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)