summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-30 15:45:40 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-30 15:45:40 +0200
commitb729d11c255065781e0df9b7a9b2be68a93fafb1 (patch)
tree766ba3cd4b5461c6530a05f54ec610b9bdbab7d4
parent19adb11523a6a1b87ae8dda7c1734db3ca476ddc (diff)
downloadgeiser-guile-b729d11c255065781e0df9b7a9b2be68a93fafb1.tar.gz
geiser-guile-b729d11c255065781e0df9b7a9b2be68a93fafb1.tar.bz2
Racket: ,eval -> ,geiser-eval
-rw-r--r--elisp/geiser-racket.el7
-rw-r--r--scheme/racket/geiser/user.rkt4
2 files changed, 6 insertions, 5 deletions
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el
index 0150772..c32bcc9 100644
--- a/elisp/geiser-racket.el
+++ b/elisp/geiser-racket.el
@@ -98,13 +98,14 @@ This function uses `geiser-racket-init-file' if it exists."
(defun geiser-racket--geiser-procedure (proc &rest args)
(case proc
((eval compile)
- (format ",eval %s %s %s"
+ (format ",geiser-eval %s %s %s"
(or (car args) "#f")
(geiser-racket--language)
(mapconcat 'identity (cdr args) " ")))
((load-file compile-file)
- (format ",eval geiser/main racket (geiser:%s %s)" proc (car args)))
- ((no-values) ",no-values")
+ (format ",geiser-eval geiser/main racket (geiser:%s %s)"
+ proc (car args)))
+ ((no-values) ",geiser-no-values")
(t (format ",apply geiser:%s (%s)" proc (mapconcat 'identity args " ")))))
(defconst geiser-racket--module-re
diff --git a/scheme/racket/geiser/user.rkt b/scheme/racket/geiser/user.rkt
index 272fcd9..20f8a00 100644
--- a/scheme/racket/geiser/user.rkt
+++ b/scheme/racket/geiser/user.rkt
@@ -51,8 +51,8 @@
((uq cmd) (eq? 'unquote (syntax-e #'uq))
(case (syntax-e #'cmd)
((enter) (enter! (read) #'cmd))
- ((eval) (geiser-eval))
- ((no-values) (datum->syntax #f (void)))
+ ((geiser-eval) (geiser-eval))
+ ((geiser-no-values) (datum->syntax #f (void)))
(else form)))
(_ form))))