aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-11-14 15:14:01 +0200
committerEli Zaretskii2023-11-14 15:14:01 +0200
commit3fff22eb20cc59c730c7ec4560c8663dfd55147b (patch)
tree249c236e1566143a1cd8395d3ec93469ba33151b
parent5bebd292c63c9a54430854d7d63d01e6f6727e53 (diff)
downloademacs-3fff22eb20cc59c730c7ec4560c8663dfd55147b.tar.gz
emacs-3fff22eb20cc59c730c7ec4560c8663dfd55147b.zip
Fix spell-checking email message with citations
This became broken 7 years ago, when the 'boundp condition was removed, and with it an important unrelated part of the code. * lisp/textmodes/ispell.el (ispell-message): Fix cite-regexp.
-rw-r--r--lisp/textmodes/ispell.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index eb550b639a3..48d48b07937 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -3973,7 +3973,8 @@ You can bind this to the key C-c i in GNUS or mail by adding to
3973 (point-max))) 3973 (point-max)))
3974 (t (min (point-max) (funcall ispell-message-text-end)))))) 3974 (t (min (point-max) (funcall ispell-message-text-end))))))
3975 (default-prefix ; Vanilla cite prefix (just used for cite-regexp) 3975 (default-prefix ; Vanilla cite prefix (just used for cite-regexp)
3976 (if (ispell-non-empty-string mail-yank-prefix) 3976 (if mail-yank-prefix
3977 (ispell-non-empty-string mail-yank-prefix)
3977 " \\|\t")) 3978 " \\|\t"))
3978 (cite-regexp ;Prefix of quoted text 3979 (cite-regexp ;Prefix of quoted text
3979 (cond 3980 (cond