wingo pushed a commit to branch wip-whippet
in repository guile.

commit 2f95b31ef5d816b0c5257386cac502d5f500d55e
Author: Andy Wingo <wi...@pobox.com>
AuthorDate: Tue Jun 17 09:39:47 2025 +0200

    Fix bug in deprecation wrapper for reset-hook!
    
    * module/ice-9/deprecated.scm (reset-hook!): Fix arity.
---
 module/ice-9/deprecated.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/ice-9/deprecated.scm b/module/ice-9/deprecated.scm
index e28d20447..39ffe3100 100644
--- a/module/ice-9/deprecated.scm
+++ b/module/ice-9/deprecated.scm
@@ -365,7 +365,7 @@
   (hook? x)
   (hook-empty? hook)
   (remove-hook! hook proc)
-  (reset-hook! hook proc)
+  (reset-hook! hook)
   (hook->list hook))
 
 (define module-defined-hook (make-hook 1))

Reply via email to