From: Brian Leung via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 44536@debbugs.gnu.org
Subject: bug#44536: [PATCH] Prefer seq-contains-p in shortdoc
Date: Mon, 9 Nov 2020 17:41:42 +0100 (CET) [thread overview]
Message-ID: <340912894.148973.1604940102614@ichabod.co-bxl> (raw)
[-- Attachment #1: Type: text/plain, Size: 80 bytes --]
See attached.
--
Sent with https://mailfence.com
Secure and private email
[-- Attachment #2: File Attachment: 0001-shortdoc-prefer-seq-contains-p-over-seq-contains.patch --]
[-- Type: text/x-diff, Size: 958 bytes --]
From 470442e8e81ddb95a5a5a0046264b7dc291701cc Mon Sep 17 00:00:00 2001
From: Brian Leung <leungbk@mailfence.com>
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
next reply other threads:[~2020-11-09 16:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 16:41 Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-11-09 20:20 ` bug#44536: [PATCH] Prefer seq-contains-p in shortdoc Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=340912894.148973.1604940102614@ichabod.co-bxl \
--to=bug-gnu-emacs@gnu.org \
--cc=44536@debbugs.gnu.org \
--cc=leungbk@mailfence.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.