From: Brian Leung Date: Mon, 9 Nov 2020 16:38:18 +0000 (-0800) Subject: shortdoc: prefer seq-contains-p over seq-contains X-Git-Tag: emacs-28.0.90~5202 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=916eb895d1b25107a7d6a2afc63ca6df5b02e040;p=emacs.git 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 --- 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