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
commit1dc1643105f40700b2b1891159af2025283f2138 (patch)
tree62871ba749fa08381cf60093a82eb2fe05c69079 /elisp/geiser-eval.el
parentbd53397db8684daa2bdd904336c6d5a8260e115a (diff)
downloadgeiser-1dc1643105f40700b2b1891159af2025283f2138.tar.gz
geiser-1dc1643105f40700b2b1891159af2025283f2138.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)))