diff options
author | Eli Zaretskii <eliz@gnu.org> | 2024-05-09 20:44:52 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-05-09 20:44:52 +0300 |
commit | f9832e80b89d45c283c80e89471a8687df145821 (patch) | |
tree | 86756342d91dcfcf26789b343a849a9ff2cce35a | |
parent | a7d247be90c6030a0ffebc2d8280206128b0e87c (diff) | |
download | emacs-f9832e80b89d45c283c80e89471a8687df145821.tar.gz emacs-f9832e80b89d45c283c80e89471a8687df145821.tar.bz2 emacs-f9832e80b89d45c283c80e89471a8687df145821.zip |
; * lisp/textmodes/ispell.el (ispell-message): Add commentary.
-rw-r--r-- | lisp/textmodes/ispell.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 08a7b816de3..d66c13625bd 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -4038,6 +4038,10 @@ You can bind this to the key C-c i in GNUS or mail by adding to (if (re-search-forward "^Subject: *" end-of-headers t) (progn (goto-char (match-end 0)) + ;; Don't spell-check Subject if it comes from a + ;; received message: "Re:" indicates this is a reply + ;; to someone else's message, "[...]" indicates this + ;; is a subject of a forwarded message. (if (and (not (looking-at ".*\\<Re\\>")) (not (looking-at "\\["))) (progn |