summaryrefslogtreecommitdiff
path: root/lisp/textmodes/ispell.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-04-08 20:05:41 +0000
committerRichard M. Stallman <rms@gnu.org>1995-04-08 20:05:41 +0000
commitd067bf5ce33b6d759edb9e52b3bd42b35ac40b69 (patch)
tree5dacad5bd22b38d7aa2f324f6eb471d0ff785f50 /lisp/textmodes/ispell.el
parent34693c57b5578faa5f08b3047ab9819858494632 (diff)
downloademacs-d067bf5ce33b6d759edb9e52b3bd42b35ac40b69.tar.gz
(ispell-message): Make mail-header-separator into regexp.
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r--lisp/textmodes/ispell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index bc74401c21d..75590e711f5 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2132,7 +2132,7 @@ You can bind this to the key C-c i in GNUS or mail by adding to
(forward-line 1))
(setq case-fold-search nil)
;; Skip mail header, particularly for non-english languages.
- (if (looking-at mail-header-separator)
+ (if (looking-at (concat (regexp-quote mail-header-separator) "$"))
(forward-line 1))
(while (< (point) limit)
;; Skip across text cited from other messages.