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:
parent
95c04675ab
commit
916eb895d1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue