From f9832e80b89d45c283c80e89471a8687df145821 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 9 May 2024 20:44:52 +0300 Subject: [PATCH] ; * lisp/textmodes/ispell.el (ispell-message): Add commentary. --- lisp/textmodes/ispell.el | 4 ++++ 1 file changed, 4 insertions(+) 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