shortdoc: prefer seq-contains-p over seq-contains

* lisp/emacs-lisp/shortdoc.el (sequence): use seq-contains-p instead
of seq-contains, which is obsolete as of 27.1.  (Bug#44536)

Copyright-paperwork-exempt: yes
This commit is contained in:
Brian Leung 2020-11-09 08:38:18 -08:00 committed by Stefan Kangas
parent 95c04675ab
commit 916eb895d1

View file

@ -689,8 +689,8 @@ There can be any number of :example/:result elements."
(define-short-documentation-group sequence
"Sequence Predicates"
(seq-contains-p
:eval (seq-contains '(a b c) 'b)
:eval (seq-contains '(a b c) 'd))
:eval (seq-contains-p '(a b c) 'b)
:eval (seq-contains-p '(a b c) 'd))
(seq-every-p
:eval (seq-every-p #'numberp '(1 2 3)))
(seq-empty-p