From 5b5bcd88934b43258c1cd4bba5748a5deb49fbf2 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Mon, 25 Jun 2018 14:56:40 -0700 Subject: [PATCH] x11: Actually export import-x11. --- src/x11/README | 8 ++++---- src/x11/x11.pkg | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) 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") -- 2.25.1