fixed a bug in the last commit

svn: r11893
This commit is contained in:
Robby Findler 2008-09-28 04:12:23 +00:00
parent eadcced90d
commit a2314a8f0e

View File

@ -22,9 +22,10 @@
(syntax-case stx ()
[(_ fn id ...)
#'(begin
(define-runtime-path the-file fn)
(define (id . x)
(let ([orig-fn (parameterize ([current-namespace drs-ns])
(dynamic-require fn 'id))])
(dynamic-require the-file 'id))])
(apply orig-fn x)))
...)]))