summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2020-11-09 08:38:18 -0800
committerStefan Kangas <stefan@marxist.se>2020-11-09 21:19:10 +0100
commit916eb895d1b25107a7d6a2afc63ca6df5b02e040 (patch)
treec4ea8a6f6d249a8921cdf87c3b1ecf619803b52b /lisp/emacs-lisp
parent95c04675abb33c9a77e561e109348954e0d67c85 (diff)
downloademacs-916eb895d1b25107a7d6a2afc63ca6df5b02e040.tar.gz
emacs-916eb895d1b25107a7d6a2afc63ca6df5b02e040.tar.bz2
emacs-916eb895d1b25107a7d6a2afc63ca6df5b02e040.zip
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
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/shortdoc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index dd9cbd5d55a..37d6170fee5 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -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