]> git.eshelyaron.com Git - emacs.git/commitdiff
(ispell-message-text-end): Handle `- ' before
authorRichard M. Stallman <rms@gnu.org>
Fri, 27 Dec 1996 02:06:41 +0000 (02:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 27 Dec 1996 02:06:41 +0000 (02:06 +0000)
the "cut here" or "start of..." line.  Handle `Forward message'
without `Start of'.

lisp/textmodes/ispell.el

index 79f81ad4df2508e9f53dd07e2e92c9b48a721b01..dd553fa90e7bdb9ac87dc840e862aef94ef0ff1b 100644 (file)
@@ -2059,8 +2059,9 @@ warns you if the previous word is incorrectly spelled."
                ;; 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.