summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-27 02:06:41 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-27 02:06:41 +0000
commit441c2ae48373e06bb40ed98fe5057a94b43f5bdb (patch)
tree29567ef7d9dcdaf118d0002239737b41ff509593 /lisp
parente39e74c0480a999e62ab57ae678d5b879b9a8264 (diff)
downloademacs-441c2ae48373e06bb40ed98fe5057a94b43f5bdb.tar.gz
(ispell-message-text-end): Handle `- ' before
the "cut here" or "start of..." line. Handle `Forward message' without `Start of'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/ispell.el5
1 files changed, 3 insertions, 2 deletions
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.