From: Matt Birkholz Date: Mon, 25 Jun 2018 21:56:40 +0000 (-0700) Subject: x11: Actually export import-x11. X-Git-Tag: mit-scheme-pucked-9.2.16~1^2~2 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=5b5bcd88934b43258c1cd4bba5748a5deb49fbf2;p=mit-scheme.git x11: Actually export import-x11. --- diff --git a/src/x11/README b/src/x11/README index d9160eb0a..f3540c933 100644 --- a/src/x11/README +++ b/src/x11/README @@ -11,10 +11,10 @@ To use: (load-option 'x11) (import-x11) -Import-x11 will modify the REPL's current environment by adding -bindings linked to the plugin's exports. They are not exported to the -global environment because they would conflict with the deprecated -exports from (runtime x-graphics). +The import-x11 procedure will modify the REPL's current environment by +adding bindings linked to the plugin's exports, which are not exported +to the global environment because they would conflict with the +deprecated exports from (runtime x-graphics). To import into a CREF package set, add this to your .pkg file: diff --git a/src/x11/x11.pkg b/src/x11/x11.pkg index 0d5941ed5..1c6055951 100644 --- a/src/x11/x11.pkg +++ b/src/x11/x11.pkg @@ -29,7 +29,9 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. (define-package (x11) (files "x11") - (parent ())) + (parent ()) + (export () + import-x11)) (define-package (x11 base) (files "x11-base")