diff options
author | jao <jao@gnu.org> | 2011-06-23 00:32:27 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2011-06-23 00:32:27 +0200 |
commit | 4396a8cf2d27c03589a60e14c1eb95a3ba21fff8 (patch) | |
tree | c5dff39a29720553c5f42c868c96a500dedcf764 /elisp/geiser-connection.el | |
parent | be04e20fb0864b09395c5bd55783033e82145148 (diff) | |
download | geiser-4396a8cf2d27c03589a60e14c1eb95a3ba21fff8.tar.gz geiser-4396a8cf2d27c03589a60e14c1eb95a3ba21fff8.tar.bz2 |
Avoid (read) breakage (fixes #33090)
Autodoc was firing while the REPL was waiting for input of a (read)
call, causing all kinds of misbehaviour. We now inhibit autodoc on
sending a form for evaluation and re-inhibit it once a prompt is read
back again.
Diffstat (limited to 'elisp/geiser-connection.el')
-rw-r--r-- | elisp/geiser-connection.el | 4 |
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)))) |