From 2605df9188a45b245373a9fe576ed13b18dd23cd Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sun, 4 Dec 2016 19:20:19 +0000 Subject: [PATCH 16/21] 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 097fd4d..8093228 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3864,16 +3864,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