diff options
author | Nicolas Petton <nicolas@petton.fr> | 2019-03-20 21:44:01 +0100 |
---|---|---|
committer | Nicolas Petton <nicolas@petton.fr> | 2019-03-21 21:08:28 +0100 |
commit | 287cc58f39e9ca8f9ef31b31556f50c25feadaea (patch) | |
tree | 493af4f9d264395bba72ae15f0afa2162e135839 /msdos | |
parent | 093d3e78d21d3d6c718997368ef4b31f9884401c (diff) | |
download | emacs-287cc58f39e9ca8f9ef31b31556f50c25feadaea.tar.gz |
New seq-contains-p predicate (Bug#34852)
* lisp/emacs-lisp/seq.el (seq-contains-p): New predicate function. It
is a replacement for seq-contains which cannot be used as a predicate
when a sequence contains nil values as it returns the element found.
(seq-contains): Make obsolete.
* test/lisp/emacs-lisp/seq-tests.el (test-seq-contains-p):
(test-seq-intersection-with-nil, test-seq-set-equal-p-with-nil,
test-difference-with-nil): Add regression tests.
* doc/lispref/sequences.texi (Sequence Functions): Document
seq-contains-p.
Diffstat (limited to 'msdos')
0 files changed, 0 insertions, 0 deletions