Commit 855b9e33 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(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.
parent 98e85e34
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
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment