summaryrefslogtreecommitdiff
path: root/scheme/racket/geiser/eval.rkt
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-06-10 00:06:55 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-06-10 00:06:55 +0200
commit7b1a1d046059eb2ce68ea02706a0e7494c39684f (patch)
tree8a72cf5b83d913cc29802ecc4d1083b5c8386423 /scheme/racket/geiser/eval.rkt
parentbba166c3ccb136fa8321ad9acc9cfd48a5fed357 (diff)
downloadgeiser-guile-7b1a1d046059eb2ce68ea02706a0e7494c39684f.tar.gz
geiser-guile-7b1a1d046059eb2ce68ea02706a0e7494c39684f.tar.bz2
racket: new ,geiser-load command in REPL
... and used also internally for C-c C-k, although it doesn't yet work as well as i wanted when it comes to load modules. The reason is probably in geiser/enter, where we don't record modification times per submodule but per path, which is not correct in the presence of submodules.
Diffstat (limited to 'scheme/racket/geiser/eval.rkt')
-rw-r--r--scheme/racket/geiser/eval.rkt8
1 files changed, 4 insertions, 4 deletions
diff --git a/scheme/racket/geiser/eval.rkt b/scheme/racket/geiser/eval.rkt
index 9b510cf..752a405 100644
--- a/scheme/racket/geiser/eval.rkt
+++ b/scheme/racket/geiser/eval.rkt
@@ -1,6 +1,6 @@
;;; eval.rkt -- evaluation
-;; Copyright (C) 2009, 2010, 2011, 2012 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011, 2012, 2013 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -15,8 +15,8 @@
load-file
macroexpand
add-to-load-path
- make-repl-reader)
-
+ make-repl-reader
+ call-with-result)
(require geiser/enter geiser/modules geiser/images)
(require errortrace/errortrace-lib)
@@ -50,7 +50,7 @@
(parameterize ([current-error-port (current-output-port)])
(with-handlers ([exn? set-last-error])
(call-with-values thunk set-last-result)))))])
- (append last-result `((output . ,output)))))
+ (append last-result `(,(cons 'output output)))))
(define (eval-in form spec lang)
(write (call-with-result