summaryrefslogtreecommitdiff
path: root/elisp/geiser-eval.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-28 03:18:00 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-28 03:18:00 +0100
commitd05e8e0e2323a654e8e8f81214750b2819fcbc8e (patch)
tree4005c470b1a3eafa74c8d9b4697b99b3f4b0b6d6 /elisp/geiser-eval.el
parentf0e5d02619ead5688f051f14030cb700323e6c17 (diff)
downloadgeiser-chez-d05e8e0e2323a654e8e8f81214750b2819fcbc8e.tar.gz
geiser-chez-d05e8e0e2323a654e8e8f81214750b2819fcbc8e.tar.bz2
First stab at asynchronous autodoc retrieval
Diffstat (limited to 'elisp/geiser-eval.el')
-rw-r--r--elisp/geiser-eval.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/elisp/geiser-eval.el b/elisp/geiser-eval.el
index 2ca20b4..8851e74 100644
--- a/elisp/geiser-eval.el
+++ b/elisp/geiser-eval.el
@@ -135,6 +135,12 @@ module-exports, autodoc, callers, callees and generic-methods.")
(defsubst geiser-eval--code-str (code)
(if (stringp code) code (geiser-eval--scheme-str code)))
+(defsubst geiser-eval--send (code cont &optional buffer)
+ (geiser-con--send-string (geiser-eval--connection)
+ (geiser-eval--code-str code)
+ cont
+ buffer))
+
(defvar geiser-eval--sync-retort nil)
(defun geiser-eval--set-sync-retort (s)
(setq geiser-eval--sync-retort (geiser-eval--log s)))