unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] Replace obsolete function to avoid byte compilation warning
@ 2024-08-01  4:56 Joseph Turner
  2024-08-01  6:44 ` Adam Porter
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Turner @ 2024-08-01  4:56 UTC (permalink / raw)
  To: Emacs Devel Mailing List

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


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

* Re: [PATCH] Replace obsolete function to avoid byte compilation warning
  2024-08-01  4:56 [PATCH] Replace obsolete function to avoid byte compilation warning Joseph Turner
@ 2024-08-01  6:44 ` Adam Porter
  2024-08-01  7:32   ` Joseph Turner
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Porter @ 2024-08-01  6:44 UTC (permalink / raw)
  To: joseph; +Cc: emacs-devel

Hi Joseph,

I applied and pushed your patch to the persist branch on ELPA.  :)

--Adam



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

* Re: [PATCH] Replace obsolete function to avoid byte compilation warning
  2024-08-01  6:44 ` Adam Porter
@ 2024-08-01  7:32   ` Joseph Turner
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Turner @ 2024-08-01  7:32 UTC (permalink / raw)
  To: Adam Porter; +Cc: emacs-devel

Adam Porter <adam@alphapapa.net> writes:

> I applied and pushed your patch to the persist branch on ELPA.  :)

Thank you!




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

end of thread, other threads:[~2024-08-01  7:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01  4:56 [PATCH] Replace obsolete function to avoid byte compilation warning Joseph Turner
2024-08-01  6:44 ` Adam Porter
2024-08-01  7:32   ` Joseph Turner

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).