diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-12-18 00:35:57 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-12-18 00:35:57 +0100 |
commit | 62d3ee0ccb778ed571e45e44bff3eb631ed4c5e4 (patch) | |
tree | 10d2f393d67159e0191a398b5c1bcd0a4bdf3902 /scheme/guile/geiser | |
parent | 9c85f8c16b82531fa4fc86412071782d2d0b842e (diff) | |
download | geiser-guile-62d3ee0ccb778ed571e45e44bff3eb631ed4c5e4.tar.gz geiser-guile-62d3ee0ccb778ed571e45e44bff3eb631ed4c5e4.tar.bz2 |
Guile: fix for file loading (we always compile them now).
Diffstat (limited to 'scheme/guile/geiser')
-rw-r--r-- | scheme/guile/geiser/evaluation.scm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scheme/guile/geiser/evaluation.scm b/scheme/guile/geiser/evaluation.scm index 3e44834..11438cf 100644 --- a/scheme/guile/geiser/evaluation.scm +++ b/scheme/guile/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)))) |