summaryrefslogtreecommitdiff
path: root/geiser/evaluation.scm
diff options
context:
space:
mode:
Diffstat (limited to 'geiser/evaluation.scm')
-rw-r--r--geiser/evaluation.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index 3e44834..11438cf 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -60,11 +60,9 @@
(define (ge:compile-file path)
"Compile a file, given its full @var{path}."
- (ge:compile `(compile-and-load ,path) '(geiser evaluation)))
+ (ge:compile `(load-compiled (compile-file ,path)) '(geiser evaluation)))
-(define (ge:load-file path)
- "Load file, given its full @var{path}."
- (ge:compile `(load-compiled ,(compiled-file-name path)) '(geiser evaluation)))
+(define ge:load-file ge:compile-file)
(define (ge:macroexpand form . all)
(let ((all (and (not (null? all)) (car all))))