unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Joseph Turner <joseph@breatheoutbreathe.in>
To: Emacs Devel Mailing List <emacs-devel@gnu.org>
Subject: [PATCH] Replace obsolete function to avoid byte compilation warning
Date: Wed, 31 Jul 2024 21:56:54 -0700	[thread overview]
Message-ID: <877cd0suw9.fsf@breatheoutbreathe.in> (raw)

[-- Attachment #1: Type: text/plain, Size: 59 bytes --]

Hello!

I noticed this warning today.

Thank you!

Joseph


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Replace-obsolete-function-to-avoid-byte-compilation-.patch --]
[-- Type: text/x-diff, Size: 813 bytes --]

From 3d8ea67c6e54f37966de9ad3c1f1a0ee66547425 Mon Sep 17 00:00:00 2001
From: Joseph Turner <joseph@breatheoutbreathe.in>
Date: Wed, 31 Jul 2024 21:53:58 -0700
Subject: [PATCH] Replace obsolete function to avoid byte compilation warning

---
 test/persist-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/persist-tests.el b/test/persist-tests.el
index 4439fa3e07..6bf2ed3708 100644
--- a/test/persist-tests.el
+++ b/test/persist-tests.el
@@ -15,7 +15,7 @@ (ert-deftest test-persist-symbol ()
    (let ((persist--symbols nil)
          (sym (cl-gensym)))
      (persist-symbol sym 10)
-     (seq-contains persist--symbols sym))))
+     (seq-contains-p persist--symbols sym))))
 
 (ert-deftest test-persist-save-only-persistant ()
   ;; do not save not persist variables
-- 
2.41.0


             reply	other threads:[~2024-08-01  4:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-01  4:56 Joseph Turner [this message]
2024-08-01  6:44 ` [PATCH] Replace obsolete function to avoid byte compilation warning Adam Porter
2024-08-01  7:32   ` Joseph Turner

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877cd0suw9.fsf@breatheoutbreathe.in \
    --to=joseph@breatheoutbreathe.in \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).