Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the containing directory of the includer of a file in load-path
This solves the issue #694 reported by @Retropikzel In file bar/baz.sld (define-module (bar baz) (export hello) (include "baz.scm")) In file bar/baz.scm (define (hello) (display "Hello\n")) We can now launch "stklos bar/baz" and the "bar" directory will be prepended before the load-path when including "baz.scm" (before "baz.scm" was not found).
- Loading branch information