From 916eb895d1b25107a7d6a2afc63ca6df5b02e040 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Mon, 9 Nov 2020 08:38:18 -0800 Subject: [PATCH] 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 --- lisp/emacs-lisp/shortdoc.el | 4 ++-- 1 file 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 -- 2.39.2