Commit 45f73e76 authored by Robert Goldman's avatar Robert Goldman
Browse files

Merge branch 'iss84-define-package' into 'master'

Make define-package macro expansion more backwards compatible

Closes #84

See merge request !189
parents ecd37867 d9ce5417
Pipeline #4365 canceled with stage
......@@ -809,7 +809,8 @@ or when loading the package is optional."
:import-from ',import-from :export ',export :intern ',intern
:recycle ',(if recycle-p recycle (cons package nicknames))
:mix ',mix :reexport ',reexport :unintern ',unintern
:local-nicknames ',local-nicknames)))))
,@(when local-nicknames
`(:local-nicknames ',local-nicknames)))))))
(defmacro define-package (package &rest clauses)
"DEFINE-PACKAGE takes a PACKAGE and a number of CLAUSES, of the form
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment