summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haunt/ui.scm3
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
(()