From: Eli Zaretskii Date: Thu, 9 May 2024 17:44:52 +0000 (+0300) Subject: ; * lisp/textmodes/ispell.el (ispell-message): Add commentary. X-Git-Tag: archive/raspbian/1%29.4+1-4+rpi1~1^2~2^2~17^2~38 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f9832e80b89d45c283c80e89471a8687df145821;p=emacs.git ; * lisp/textmodes/ispell.el (ispell-message): Add commentary. --- 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 ".*\\")) (not (looking-at "\\["))) (progn