diff --git a/base/packages.lisp b/base/packages.lisp index 01c4a0cb37c362127fed106cd87c56289c624c52..1a70c3733ab63fcd068efcb961c5680fc141d198 100644 --- a/base/packages.lisp +++ b/base/packages.lisp @@ -103,9 +103,8 @@ (loop :for (kw . ()) :in clauses :when (member kw '(:import-from :shadowing-import-from)) :do (map () #'ensure-imported (cddr clauses))) - `(defpackage ,package + `(defpackage ,package (:use) ,@(loop :for p :in mixed-packages :collect `(:import-from ,p ,@(import-from p))) ,@clauses - (:export ,@(loop :for s :being :the :hash-keys :of h :collect s)))))) -) + (:export ,@(loop :for s :being :the :hash-keys :of h :collect s)))))))