diff options
| author | Gerd Moellmann | 2001-01-16 14:04:21 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-01-16 14:04:21 +0000 |
| commit | 25c99c6d35f7d50888938c6a0fa6736d1c6bd003 (patch) | |
| tree | 74ae8e68a6262f1919baa4470e1126f3de97c7f6 | |
| parent | 826f3788b607a4bdf9a5b498aa6a0676b4f24055 (diff) | |
| download | emacs-25c99c6d35f7d50888938c6a0fa6736d1c6bd003.tar.gz emacs-25c99c6d35f7d50888938c6a0fa6736d1c6bd003.zip | |
(mail-mode-flyspell-verify): Check in
Subject line only if point is after the `Subject:'.
| -rw-r--r-- | lisp/textmodes/flyspell.el | 6 |
1 files 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.") | |||
| 234 | (in-signature (save-excursion | 234 | (in-signature (save-excursion |
| 235 | (re-search-backward message-signature-separator nil t)))) | 235 | (re-search-backward message-signature-separator nil t)))) |
| 236 | (cond (in-headers | 236 | (cond (in-headers |
| 237 | (save-excursion | 237 | (and (save-excursion (beginning-of-line) |
| 238 | (beginning-of-line) | 238 | (looking-at "^Subject:")) |
| 239 | (looking-at "^Subject:"))) | 239 | (> (point) (match-end 0)))) |
| 240 | (in-signature | 240 | (in-signature |
| 241 | nil) | 241 | nil) |
| 242 | (t | 242 | (t |