summaryrefslogtreecommitdiff
path: root/elisp/geiser-connection.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-connection.el')
-rw-r--r--elisp/geiser-connection.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/elisp/geiser-connection.el b/elisp/geiser-connection.el
index 12a9f46..d14fe0e 100644
--- a/elisp/geiser-connection.el
+++ b/elisp/geiser-connection.el
@@ -158,6 +158,10 @@
(and (not (geiser-con--connection-is-debugging con))
(geiser-con--connection-update-debugging con answer)))
+(defun geiser-con--connection-eot-p (con txt)
+ (and txt
+ (string-match-p (geiser-con--connection-eot con) txt)))
+
(defun geiser-con--connection-close (con)
(let ((tq (geiser-con--connection-tq con)))
(and tq (tq-close tq))))