diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-10-30 15:45:40 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-10-30 15:45:40 +0200 |
commit | b729d11c255065781e0df9b7a9b2be68a93fafb1 (patch) | |
tree | 766ba3cd4b5461c6530a05f54ec610b9bdbab7d4 | |
parent | 19adb11523a6a1b87ae8dda7c1734db3ca476ddc (diff) | |
download | geiser-chez-b729d11c255065781e0df9b7a9b2be68a93fafb1.tar.gz geiser-chez-b729d11c255065781e0df9b7a9b2be68a93fafb1.tar.bz2 |
Racket: ,eval -> ,geiser-eval
-rw-r--r-- | elisp/geiser-racket.el | 7 | ||||
-rw-r--r-- | scheme/racket/geiser/user.rkt | 4 |
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)))) |