emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8315d50 15/23: Remove support for old versions of s


From: Reuben Thomas
Subject: [Emacs-diffs] master 8315d50 15/23: Remove support for old versions of supercite and GNUS from ispell.el
Date: Tue, 13 Dec 2016 19:44:36 +0000 (UTC)

branch: master
commit 8315d50bce7661dd56eaa745b3f893c7862a1748
Author: Reuben Thomas <address@hidden>
Commit: Reuben Thomas <address@hidden>

    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 @@ You can bind this to the key C-c i in GNUS or mail by 
adding to
               "   \\|\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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]