all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#44536: [PATCH] Prefer seq-contains-p in shortdoc
@ 2020-11-09 16:41 Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-11-09 20:20 ` Stefan Kangas
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-11-09 16:41 UTC (permalink / raw)
  To: 44536

[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#44536: [PATCH] Prefer seq-contains-p in shortdoc
  2020-11-09 16:41 bug#44536: [PATCH] Prefer seq-contains-p in shortdoc Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-11-09 20:20 ` Stefan Kangas
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Kangas @ 2020-11-09 20:20 UTC (permalink / raw)
  To: Brian Leung, 44536

tags 44536 fixed
close 44536 28.1
thanks

Brian Leung via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

> See attached.

Pushed to master as commit 916eb895d1.  Thanks for the patch.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-09 20:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-09 16:41 bug#44536: [PATCH] Prefer seq-contains-p in shortdoc Brian Leung via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-09 20:20 ` Stefan Kangas

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.