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.
This commit is contained in:
2026-10-20 12:18:52 +03:00
parent 673787837c
commit 16a1c3b487
2 changed files with 1 additions and 6 deletions

View File

@@ -7,10 +7,8 @@
(chicken string)) (chicken string))
(export (export
register-macro
cat cat
comment comment
get-macro
macro? macro?
apply-macro apply-macro
defmacro) defmacro)

View File

@@ -10,7 +10,6 @@
(export (export
get-env-var get-env-var
set-working-directory
to-absolute-pathname to-absolute-pathname
comment-form? comment-form?
strip-header-comments strip-header-comments
@@ -25,12 +24,10 @@
form-end-line form-end-line
copy-form-source! copy-form-source!
stamp-form-source! stamp-form-source!
form-location
set-form-type! set-form-type!
form-type
sex-error sex-error
sex-warning sex-warning
with-directory) (with-directory set-working-directory))
(define-syntax prog1 (define-syntax prog1
(syntax-rules () (syntax-rules ()