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.
This commit is contained in:
Eli Zaretskii 2023-11-14 15:14:01 +02:00
parent 5bebd292c6
commit 3fff22eb20

View file

@ -3973,7 +3973,8 @@ You can bind this to the key C-c i in GNUS or mail by adding to
(point-max)))
(t (min (point-max) (funcall ispell-message-text-end))))))
(default-prefix ; Vanilla cite prefix (just used for cite-regexp)
(if (ispell-non-empty-string mail-yank-prefix)
(if mail-yank-prefix
(ispell-non-empty-string mail-yank-prefix)
" \\|\t"))
(cite-regexp ;Prefix of quoted text
(cond