From: Gerd Moellmann Date: Tue, 16 Jan 2001 14:04:21 +0000 (+0000) Subject: (mail-mode-flyspell-verify): Check in X-Git-Tag: emacs-pretest-21.0.96~265 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25c99c6d35f7d50888938c6a0fa6736d1c6bd003;p=emacs.git (mail-mode-flyspell-verify): Check in Subject line only if point is after the `Subject:'. --- 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