diff options
| author | Gerd Moellmann | 1999-11-22 16:14:41 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-11-22 16:14:41 +0000 |
| commit | 855b9e3374162932cf331c17c6b2d50ddb54e8c9 (patch) | |
| tree | 7bb805b25a0a92a1dab7162d4862d3b8f227739c | |
| parent | 98e85e34652fc3552f24dab523bf50f222e0596b (diff) | |
| download | emacs-855b9e3374162932cf331c17c6b2d50ddb54e8c9.tar.gz emacs-855b9e3374162932cf331c17c6b2d50ddb54e8c9.zip | |
(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.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/text-mode.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7ce214c8d22..02263d03ff4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 1999-11-22 Gerd Moellmann <gerd@gnu.org> | 1 | 1999-11-22 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * textmodes/text-mode.el (text-mode): Contruct paragraph-start so | ||
| 4 | that the leading `^' is at the start. This is necessary because | ||
| 5 | paragraphs.el tries to remove anchors, but can find them only if | ||
| 6 | they are the first character. | ||
| 7 | |||
| 3 | * progmodes/antlr-mode.el: New file. | 8 | * progmodes/antlr-mode.el: New file. |
| 4 | 9 | ||
| 5 | * calendar/calendar.el: Fix autoload for | 10 | * calendar/calendar.el: Fix autoload for |
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'." | |||
| 75 | (setq local-abbrev-table text-mode-abbrev-table) | 75 | (setq local-abbrev-table text-mode-abbrev-table) |
| 76 | (set-syntax-table text-mode-syntax-table) | 76 | (set-syntax-table text-mode-syntax-table) |
| 77 | (make-local-variable 'paragraph-start) | 77 | (make-local-variable 'paragraph-start) |
| 78 | (setq paragraph-start (concat "[ \t]*$\\|" page-delimiter)) | 78 | (setq paragraph-start (concat page-delimiter "\\|[ \t]*$")) |
| 79 | (make-local-variable 'paragraph-separate) | 79 | (make-local-variable 'paragraph-separate) |
| 80 | (setq paragraph-separate paragraph-start) | 80 | (setq paragraph-separate paragraph-start) |
| 81 | (make-local-variable 'indent-line-function) | 81 | (make-local-variable 'indent-line-function) |