; * lisp/textmodes/ispell.el (ispell-message): Add commentary.

This commit is contained in:
Eli Zaretskii 2024-05-09 20:44:52 +03:00
parent a7d247be90
commit f9832e80b8

View file

@ -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