summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-08-26 01:36:58 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-08-26 01:36:58 +0200
commit5334b5c3ec6792c8be57211119f2a312a958cab9 (patch)
treee1e5e064f06888d9f071e6214bb5d9d1c3c6f184
parent2a903ff81c1696a05d99bc78ebc9558f64b41c81 (diff)
downloadgeiser-5334b5c3ec6792c8be57211119f2a312a958cab9.tar.gz
geiser-5334b5c3ec6792c8be57211119f2a312a958cab9.tar.bz2
Ensuring that comint-process-echoes is nil in REPL
This variable makes comint wait for the underlying process to echo its input, something our schemes won't do. If anyone sets the variable globally for what can only be perverse reasons, we just would just hung. Not anymore.
-rw-r--r--elisp/geiser-repl.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 8a3f6a6..68e4708 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -606,6 +606,7 @@ buffer."
(set (make-local-variable 'comint-use-prompt-regexp) t)
(set (make-local-variable 'comint-prompt-read-only)
geiser-repl-read-only-prompt-p)
+ (setq comint-process-echoes nil)
(set (make-local-variable 'beginning-of-defun-function)
'geiser-repl--beginning-of-defun)
(set (make-local-variable 'comint-input-ignoredups)