summaryrefslogtreecommitdiff
path: root/elisp/geiser-eval.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-eval.el')
-rw-r--r--elisp/geiser-eval.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/elisp/geiser-eval.el b/elisp/geiser-eval.el
index df31594..3534312 100644
--- a/elisp/geiser-eval.el
+++ b/elisp/geiser-eval.el
@@ -113,6 +113,7 @@ module-exports, autodoc, callers, callees and generic-methods.")
(mapconcat 'geiser-eval--scheme-str code " ")
")"))))
((symbolp code) (format "%s" code))
+ ((stringp code) (format "%S" (substring-no-properties code)))
(t (format "%S" code))))
@@ -135,12 +136,6 @@ module-exports, autodoc, callers, callees and generic-methods.")
(defun geiser-eval--set-sync-retort (s)
(setq geiser-eval--sync-retort (geiser-eval--log s)))
-(defsubst geiser-eval--send (code cont &optional buffer)
- (geiser-con--send-string (geiser-eval--proc)
- (geiser-eval--code-str code)
- `(lambda (s) (,cont (geiser-eval--log s)))
- buffer))
-
(defun geiser-eval--send/wait (code &optional timeout buffer)
(setq geiser-eval--sync-retort nil)
(geiser-con--send-string/wait (geiser-eval--proc)