guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 06/07: Fix loading of custom-ports extension


From: Ludovic Courtès
Subject: [Guile-commits] 06/07: Fix loading of custom-ports extension
Date: Mon, 29 Jan 2024 08:47:40 -0500 (EST)

civodul pushed a commit to branch main
in repository guile.

commit 5223c71d0dd89394b7b0cbe6f9d244ec12f0f3f3
Author: Jonas Hahnfeld <hahnjo@hahnjo.de>
AuthorDate: Tue Oct 24 12:47:21 2023 +0200

    Fix loading of custom-ports extension
    
    * module/ice-9/custom-ports.scm: Load extension also in expand and eval.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 module/ice-9/custom-ports.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/ice-9/custom-ports.scm b/module/ice-9/custom-ports.scm
index ba50d238a..07b6ba28a 100644
--- a/module/ice-9/custom-ports.scm
+++ b/module/ice-9/custom-ports.scm
@@ -74,7 +74,7 @@
 (define-custom-port-dispatcher truncate length)
 
 
-(eval-when (load)
+(eval-when (expand load eval)
   (load-extension (string-append "libguile-" (effective-version))
                   "scm_init_custom_ports"))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]