summaryrefslogtreecommitdiff
path: root/scheme/guile/geiser/eval.scm
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-12 22:07:29 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-12 22:07:29 +0100
commit0ead55f7052edb0f151e4e86c6feb30718d36bea (patch)
treee073a8d8cfc7e8076dc7f1339bfdfaf226bd1322 /scheme/guile/geiser/eval.scm
parentf7dc963dd7c6df1490ff792b6a45bd8f8ffea71e (diff)
downloadgeiser-chez-0ead55f7052edb0f151e4e86c6feb30718d36bea.tar.gz
geiser-chez-0ead55f7052edb0f151e4e86c6feb30718d36bea.tar.bz2
Edit symbol at point for programs.
Diffstat (limited to 'scheme/guile/geiser/eval.scm')
-rw-r--r--scheme/guile/geiser/eval.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/scheme/guile/geiser/eval.scm b/scheme/guile/geiser/eval.scm
index 1400566..8a7f48f 100644
--- a/scheme/guile/geiser/eval.scm
+++ b/scheme/guile/geiser/eval.scm
@@ -70,7 +70,9 @@ SUBR, MSG and REST."
(current (getcwd)))
(dynamic-wind
(lambda () (chdir dest))
- (lambda () (compile-file path))
+ (lambda ()
+ (and (compile-file path)
+ (load-compiled (string-append dest "/" (compiled-file-name path)))))
(lambda () (chdir current)))))
(define (load-file path)