From 25c99c6d35f7d50888938c6a0fa6736d1c6bd003 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 16 Jan 2001 14:04:21 +0000 Subject: [PATCH] (mail-mode-flyspell-verify): Check in Subject line only if point is after the `Subject:'. --- lisp/textmodes/flyspell.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 897ad4ca3e1..cf0bc2dd059 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -234,9 +234,9 @@ property of the major mode name.") (in-signature (save-excursion (re-search-backward message-signature-separator nil t)))) (cond (in-headers - (save-excursion - (beginning-of-line) - (looking-at "^Subject:"))) + (and (save-excursion (beginning-of-line) + (looking-at "^Subject:")) + (> (point) (match-end 0)))) (in-signature nil) (t -- 2.39.5