summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/seq.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-04-05 14:24:00 +0200
committerStefan Kangas <stefan@marxist.se>2021-04-05 14:24:00 +0200
commit20f7fa691b7c2859b96550d9ccb326bf394e160d (patch)
treeb340d48c7c0fc151884470b656ed148d0ffc5d3b /lisp/emacs-lisp/seq.el
parent257caab1d0bea17fb9bfb5a9e2c782cf96a7d052 (diff)
downloademacs-20f7fa691b7c2859b96550d9ccb326bf394e160d.tar.gz
Obsolete local set difference functions in favor of seq-difference
* lisp/emacs-lisp/seq.el (seq-difference): Add autoload cookie. * lisp/gnus/gnus-range.el (gnus-set-difference): * lisp/gnus/spam.el (spam-set-difference): Make obsolete in favor of seq-difference. Update callers.
Diffstat (limited to 'lisp/emacs-lisp/seq.el')
-rw-r--r--lisp/emacs-lisp/seq.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el
index f2f7d677e88..7aa5684cfd1 100644
--- a/lisp/emacs-lisp/seq.el
+++ b/lisp/emacs-lisp/seq.el
@@ -468,6 +468,7 @@ 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."