summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-09-29 17:25:01 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-29 17:28:02 +0200
commitb4b4cc98ac271d079916a4c412e134fe5b4ba4d8 (patch)
treeb512da9839cf37fa37322df806406de4297dcc31 /lisp/emacs-lisp
parente457cff3f48b6fc3fe9efc30b9896181c59011da (diff)
downloademacs-b4b4cc98ac271d079916a4c412e134fe5b4ba4d8.tar.gz
emacs-b4b4cc98ac271d079916a4c412e134fe5b4ba4d8.tar.bz2
emacs-b4b4cc98ac271d079916a4c412e134fe5b4ba4d8.zip
Revert "Obsolete local set difference functions in favor of seq-difference"
This reverts commit 20f7fa691b7c2859b96550d9ccb326bf394e160d. gnus-set-difference is orders of magnitude faster than seq-difference (on these sets), and using seq-difference makes nnimap too slow.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/seq.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el
index 52c080388b7..451ff196316 100644
--- a/lisp/emacs-lisp/seq.el
+++ b/lisp/emacs-lisp/seq.el
@@ -490,7 +490,6 @@ Equality is defined by TESTFN if non-nil or by `equal' if nil."
(seq-reverse sequence1)
'()))
-;;;###autoload
(cl-defgeneric seq-difference (sequence1 sequence2 &optional testfn)
"Return a list of the elements that appear in SEQUENCE1 but not in SEQUENCE2.
Equality is defined by TESTFN if non-nil or by `equal' if nil."