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
commitd9109af2f6737cc4af0beb19bc597134ce9b416c (patch)
tree7037211887bc8488698e93db53ade3b167488797
parent3a1dbf4e37f44e853cb649805a1f8777d0ba7501 (diff)
downloadgeiser-guile-d9109af2f6737cc4af0beb19bc597134ce9b416c.tar.gz
geiser-guile-d9109af2f6737cc4af0beb19bc597134ce9b416c.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)