From: Richard M. Stallman Date: Fri, 27 Dec 1996 02:06:41 +0000 (+0000) Subject: (ispell-message-text-end): Handle `- ' before X-Git-Tag: emacs-20.1~3182 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=441c2ae48373e06bb40ed98fe5057a94b43f5bdb;p=emacs.git (ispell-message-text-end): Handle `- ' before the "cut here" or "start of..." line. Handle `Forward message' without `Start of'. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 79f81ad4df2..dd553fa90e7 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -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.