From: Eli Zaretskii Date: Tue, 14 Nov 2023 13:14:01 +0000 (+0200) Subject: Fix spell-checking email message with citations X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3fff22eb20c;p=emacs.git 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. --- 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 (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