aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReuben Thomas2016-12-04 19:20:19 +0000
committerReuben Thomas2016-12-13 19:43:49 +0000
commit8315d50bce7661dd56eaa745b3f893c7862a1748 (patch)
tree38c8bef4b13df7059907b4d214f271168d992a44
parentb989c415acb0059c0b39caade20b8d87031c1477 (diff)
downloademacs-8315d50bce7661dd56eaa745b3f893c7862a1748.tar.gz
emacs-8315d50bce7661dd56eaa745b3f893c7862a1748.zip
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!
-rw-r--r--lisp/textmodes/ispell.el9
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 3abefdc2eff..2f91ec278bb 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
3866 " \\|\t")) 3866 " \\|\t"))
3867 (cite-regexp ;Prefix of quoted text 3867 (cite-regexp ;Prefix of quoted text
3868 (cond 3868 (cond
3869 ((functionp 'sc-cite-regexp) ; sc 3.0 3869 ((functionp 'sc-cite-regexp) ; supercite >= 3.0
3870 (ispell-with-no-warnings 3870 (ispell-with-no-warnings
3871 (concat "\\(" (sc-cite-regexp) "\\)" "\\|" 3871 (concat "\\(" (sc-cite-regexp) "\\)" "\\|"
3872 (ispell-non-empty-string sc-reference-tag-string)))) 3872 (ispell-non-empty-string sc-reference-tag-string))))
3873 ((boundp 'sc-cite-regexp) ; sc 2.3 3873 ((equal major-mode 'message-mode) ; GNUS >= 5
3874 (concat "\\(" sc-cite-regexp "\\)" "\\|"
3875 (ispell-with-no-warnings
3876 (ispell-non-empty-string sc-reference-tag-string))))
3877 ((or (equal major-mode 'news-reply-mode) ;GNUS 4 & below
3878 (equal major-mode 'message-mode)) ;GNUS 5
3879 (concat "In article <" "\\|" 3874 (concat "In article <" "\\|"
3880 "[^,;&+=\n]+ <[^,;&+=]+> writes:" "\\|" 3875 "[^,;&+=\n]+ <[^,;&+=]+> writes:" "\\|"
3881 (ispell-with-no-warnings message-cite-prefix-regexp) 3876 (ispell-with-no-warnings message-cite-prefix-regexp)