civodul pushed a commit to branch main
in repository guile.
commit 5223c71d0dd89394b7b0cbe6f9d244ec12f0f3f3
Author: Jonas Hahnfeld <[email protected]>
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 <[email protected]>
---
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"))