From: Eli Zaretskii Date: Thu, 9 May 2024 17:44:52 +0000 (+0300) Subject: ; * lisp/textmodes/ispell.el (ispell-message): Add commentary. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=744bfd9b95af88265bedf0f3966f1cfb98406f61;p=emacs.git ; * lisp/textmodes/ispell.el (ispell-message): Add commentary. (cherry picked from commit f9832e80b89d45c283c80e89471a8687df145821) --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 17af1f1d926..f523df9881e 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -4059,6 +4059,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