From 97098982546165681195117a1b7d7c5d736a2365 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sun, 4 Dec 2016 19:20:19 +0000 Subject: [PATCH 16/23] Remove support for old versions of supercite and GNUS from ispell.el * lisp/textmodes/ispell.el (ispell-message): Require supercite >= 3.0 and GNUS >= 5. Not exactly the bleeding edge! --- lisp/textmodes/ispell.el | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 3abefdc..2f91ec2 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3866,16 +3866,11 @@ ispell-message " \\|\t")) (cite-regexp ;Prefix of quoted text (cond - ((functionp 'sc-cite-regexp) ; sc 3.0 + ((functionp 'sc-cite-regexp) ; supercite >= 3.0 (ispell-with-no-warnings (concat "\\(" (sc-cite-regexp) "\\)" "\\|" (ispell-non-empty-string sc-reference-tag-string)))) - ((boundp 'sc-cite-regexp) ; sc 2.3 - (concat "\\(" sc-cite-regexp "\\)" "\\|" - (ispell-with-no-warnings - (ispell-non-empty-string sc-reference-tag-string)))) - ((or (equal major-mode 'news-reply-mode) ;GNUS 4 & below - (equal major-mode 'message-mode)) ;GNUS 5 + ((equal major-mode 'message-mode) ; GNUS >= 5 (concat "In article <" "\\|" "[^,;&+=\n]+ <[^,;&+=]+> writes:" "\\|" (ispell-with-no-warnings message-cite-prefix-regexp) -- 2.7.4