changeset 16762:9b9acdb0e3d7

(ispell-message-text-end): Handle `- ' before the "cut here" or "start of..." line. Handle `Forward message' without `Start of'.
author Richard M. Stallman <rms@gnu.org>
date Fri, 27 Dec 1996 02:06:41 +0000
parents 20f01fd704f7
children e4f0f7fe8304
files lisp/textmodes/ispell.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Fri Dec 27 02:02:21 1996 +0000
+++ b/lisp/textmodes/ispell.el	Fri Dec 27 02:06:41 1996 +0000
@@ -2059,8 +2059,9 @@
                ;; Matches reporter.el bug report
                "^current state:\n==============\n"
 	       ;; Matches "----------------- cut here"
-	       ;; and "------- Start of forwarded message"
-	       "^[-=_]+\\s ?\\(cut here\\|Start of forwarded message\\)")
+               ;; and "------- Start of forwarded message",
+	       ;; or either one with "- " in front.
+               "^\\(- \\)?[-=_]+\\s ?\\(cut here\\|\\(Start of \\)?forwarded message\\)")
 	     "\\|")
   "*End of text which will be checked in ispell-message.
 If it is a string, limit at first occurrence of that regular expression.