diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-10-12 19:05:50 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-10-12 19:05:50 -0400 |
commit | 288913eff2fc308354a373c39463e48bb879ea91 (patch) | |
tree | 1e791dd3d7f722430de980619e4dd55d632eee25 | |
parent | 6ab9322709487f870d342b14bfbe952612d0c274 (diff) |
ui: Add CWD to Guile load path.
* haunt/ui.scm (haunt-main): Add CWD to Guile load path.
-rw-r--r-- | haunt/ui.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/haunt/ui.scm b/haunt/ui.scm index fd211e3..5ae7dd2 100644 --- a/haunt/ui.scm +++ b/haunt/ui.scm @@ -124,6 +124,9 @@ There is NO WARRANTY, to the extent permitted by law.~%" (apply command-main args)))) (define* (haunt-main arg0 . args) + ;; Add haunt site directory to Guile's load path so that user's can + ;; easily import their own modules. + (add-to-load-path (getcwd)) (setlocale LC_ALL "") (match args (() |