summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/package.tl3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/txr/stdlib/package.tl b/share/txr/stdlib/package.tl
index 7e62b6e5..12a8cf5e 100644
--- a/share/txr/stdlib/package.tl
+++ b/share/txr/stdlib/package.tl
@@ -68,6 +68,9 @@
(unless (eq (symbol-package s) ,pkg)
(unuse-sym s ,pkg)
(intern n ,pkg))))))
+ (:fallback
+ (if rest ^((set-package-fallback-list ,pkg
+ ',rest))))
(:use-from
(throwf 'eval-error
"~s: :use-from clause needs package argument"