fixed a bug in the last commit
svn: r11893
This commit is contained in:
parent
eadcced90d
commit
a2314a8f0e
|
@ -22,9 +22,10 @@
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
[(_ fn id ...)
|
[(_ fn id ...)
|
||||||
#'(begin
|
#'(begin
|
||||||
|
(define-runtime-path the-file fn)
|
||||||
(define (id . x)
|
(define (id . x)
|
||||||
(let ([orig-fn (parameterize ([current-namespace drs-ns])
|
(let ([orig-fn (parameterize ([current-namespace drs-ns])
|
||||||
(dynamic-require fn 'id))])
|
(dynamic-require the-file 'id))])
|
||||||
(apply orig-fn x)))
|
(apply orig-fn x)))
|
||||||
...)]))
|
...)]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user