From: Richard M. Stallman Date: Sat, 8 Apr 1995 20:05:41 +0000 (+0000) Subject: (ispell-message): Make mail-header-separator into regexp. X-Git-Tag: emacs-19.34~4554 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7a52e415f3290da7da22c90c1aa810c4743ebfe;p=emacs.git (ispell-message): Make mail-header-separator into regexp. --- 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.