diff options
-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)))) |