changeset 35338:3ee28dccba1d

(mail-mode-flyspell-verify): Check in Subject line only if point is after the `Subject:'.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 16 Jan 2001 14:04:21 +0000
parents d3d87c5d1158
children e5e6579e8308
files lisp/textmodes/flyspell.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el	Tue Jan 16 12:56:19 2001 +0000
+++ b/lisp/textmodes/flyspell.el	Tue Jan 16 14:04:21 2001 +0000
@@ -234,9 +234,9 @@
 	(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