From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brian Leung via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44536: [PATCH] Prefer seq-contains-p in shortdoc Date: Mon, 9 Nov 2020 17:41:42 +0100 (CET) Message-ID: <340912894.148973.1604940102614@ichabod.co-bxl> Reply-To: Brian Leung , Brian Leung Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_148931_1179124545.1604940090290" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13186"; mail-complaints-to="usenet@ciao.gmane.io" To: 44536@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 09 17:42:27 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcAFP-0003KQ-JR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 17:42:27 +0100 Original-Received: from localhost ([::1]:52084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcAFO-0007Z8-GO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 11:42:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcAF0-0007YE-GM for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 11:42:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcAF0-0006a3-7G for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 11:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcAF0-0005Ay-5U for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 11:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Brian Leung Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Nov 2020 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44536 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160494011419880 (code B ref -1); Mon, 09 Nov 2020 16:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Nov 2020 16:41:54 +0000 Original-Received: from localhost ([127.0.0.1]:35423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcAEr-0005Aa-WE for submit@debbugs.gnu.org; Mon, 09 Nov 2020 11:41:54 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcAEq-0005AT-Vo for submit@debbugs.gnu.org; Mon, 09 Nov 2020 11:41:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcAEq-0007RB-MW for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 11:41:52 -0500 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:56492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcAEn-0006US-UR for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 11:41:52 -0500 Original-Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 966BC135B for ; Mon, 9 Nov 2020 17:41:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailfence.com; s=20160819-nLV10XS2; t=1604940105; bh=76T+FvgXqyoasSQfkjKJdbTX/tFnBAIMLkfFm1QM9F0=; h=Date:Subject:Reply-To:From:To:From; b=Wni+/jL/MGLt2XHkJwhqfzppwB0g8nzEY0r9iTMw5+/YmGk1NDHYKMZEmi1juFjn7 wzUL1fFpWkpQOUTCr1Sl+YB/C0JSZ/1jjWbP94ClJHY5hRSsK/Mw7ruhdgI7EjZzfl 3UAzWhMULzgY7VvTTI1agLawsGK4imY2aWYkT3vmquHEyLNX80EZqlyMdu2DD4cdgE 5KqnlAVdOGvptlf3e3HUQN0yL3hBaRaPfQqGCoswDjnVplaNl38ZVC1gdj5Q3s1hhX FPFoo+NSV8RjwK4CwCiKsSOGcSOt9lHhRULfE/C20fkQEmk3UbrD+Hk+ynaHb1v0jZ ghPyXJbPM5zew== X-Priority: 3 X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:225491745 Received-SPF: pass client-ip=212.3.242.68; envelope-from=leungbk@mailfence.com; helo=wilbur.contactoffice.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 11:28:19 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192960 Archived-At: ------=_Part_148931_1179124545.1604940090290 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable See attached. --=C2=A0 Sent with https://mailfence.com Secure and private email ------=_Part_148931_1179124545.1604940090290 Content-Type: text/x-diff; charset=us-ascii; name=0001-shortdoc-prefer-seq-contains-p-over-seq-contains.patch Content-Transfer-Encoding: 7bit Content-Description: File Attachment: 0001-shortdoc-prefer-seq-contains-p-over-seq-contains.patch Content-Disposition: attachment; filename=0001-shortdoc-prefer-seq-contains-p-over-seq-contains.patch >From 470442e8e81ddb95a5a5a0046264b7dc291701cc 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. --- 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 ------=_Part_148931_1179124545.1604940090290--