From eb5bf3688b656ccfae04dd9abcf32f41f09db9f2 Mon Sep 17 00:00:00 2001 From: alex-eg Date: Tue, 20 Oct 2026 12:18:52 +0300 Subject: [PATCH] export only what another module imports set-working-directory is reached only through with-directory's expansion, so it is exported as that macro's helper; form-location, form-type, register-macro and get-macro had no importer. --- sex-macros.scm | 2 -- utils.scm | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/sex-macros.scm b/sex-macros.scm index 5517bbd7..54017dfb 100644 --- a/sex-macros.scm +++ b/sex-macros.scm @@ -7,10 +7,8 @@ (chicken string)) (export - register-macro cat comment - get-macro macro? apply-macro defmacro) diff --git a/utils.scm b/utils.scm index eb862b86..dd53147b 100644 --- a/utils.scm +++ b/utils.scm @@ -10,7 +10,6 @@ (export get-env-var - set-working-directory to-absolute-pathname comment-form? strip-header-comments @@ -25,12 +24,10 @@ form-end-line copy-form-source! stamp-form-source! - form-location set-form-type! - form-type sex-error sex-warning - with-directory) + (with-directory set-working-directory)) (define-syntax prog1 (syntax-rules ()