projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7d247b
)
; * lisp/textmodes/ispell.el (ispell-message): Add commentary.
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 9 May 2024 17:44:52 +0000
(20:44 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 9 May 2024 17:44:52 +0000
(20:44 +0300)
lisp/textmodes/ispell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/ispell.el
b/lisp/textmodes/ispell.el
index 08a7b816de325c0e4d36abdc398e32ce11d395bb..d66c13625bdf26513e56fcfe1c2f164b951ab7f8 100644
(file)
--- 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