Subject: [PATCH] Prefer seq-contains-p in shortdoc

From: Brian Leung <[email-masked]>
Date: Mon, 9 Nov 2020 17:41:42 +0100 (CET)

See attached.

-- 
Sent with https://mailfence.com
Secure and private email

>From 470442e8e81ddb95a5a5a0046264b7dc291701cc Mon Sep 17 00:00:00 2001
From: Brian Leung <[email-masked]>
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.
---
 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 dd9cbd5d55..37d6170fee 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -689,8 +689,8 @@ regexp
 (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.29.0