summaryrefslogtreecommitdiff
path: root/geiser-chez.el
diff options
context:
space:
mode:
Diffstat (limited to 'geiser-chez.el')
-rw-r--r--geiser-chez.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/geiser-chez.el b/geiser-chez.el
index d9ad5eb..7443461 100644
--- a/geiser-chez.el
+++ b/geiser-chez.el
@@ -136,12 +136,7 @@ Return its local name."
(defun geiser-chez--geiser-procedure (proc &rest args)
"Transform PROC in string for a scheme procedure using ARGS."
(cl-case proc
- ((eval compile)
- (let ((form (mapconcat 'identity (cdr args) " "))
- (module (cond ((string-equal "'()" (car args)) "'()")
- ((car args) (concat "'" (car args)))
- (t "#f"))))
- (format "(geiser:eval %s '%s)" module form)))
+ ((eval compile) (format "(geiser:eval '%s '%s)" (car args) (cadr args)))
((load-file compile-file) (format "(geiser:load-file %s)" (car args)))
((no-values) "(geiser:no-values)")
(t (let ((form (mapconcat 'identity args " ")))