only for programs
svn: r17835
This commit is contained in:
parent
be9d5787b4
commit
4cb01a48b3
|
@ -552,7 +552,7 @@
|
|||
[_else #f])])
|
||||
;; the actual evaluation happens under the specified limits
|
||||
(parameterize ([current-load-relative-directory
|
||||
(let* ([d (syntax-source program)]
|
||||
(let* ([d (and (syntax? program) (syntax-source program))]
|
||||
[d (and (path-string? d) (path-only d))])
|
||||
(if (and d (directory-exists? d))
|
||||
d
|
||||
|
|
Loading…
Reference in New Issue
Block a user