]> code.delx.au - gnu-emacs/commitdiff
(mail-mode-flyspell-verify): Check in
authorGerd Moellmann <gerd@gnu.org>
Tue, 16 Jan 2001 14:04:21 +0000 (14:04 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 16 Jan 2001 14:04:21 +0000 (14:04 +0000)
Subject line only if point is after the `Subject:'.

lisp/textmodes/flyspell.el

index 897ad4ca3e1c21184608b3c847f31ae19ce62f37..cf0bc2dd0598e3bf75a45fc4e7f3704c691059cd 100644 (file)
@@ -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