From e7a52e415f3290da7da22c90c1aa810c4743ebfe Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 8 Apr 1995 20:05:41 +0000 Subject: [PATCH] (ispell-message): Make mail-header-separator into regexp. --- lisp/textmodes/ispell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5