summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-09-07 01:24:22 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-09-07 01:24:22 +0200
commit4de073bacd80820803d129fd7f04e2c210f20442 (patch)
treeb7ce773e180e95b41303d17b23adfeec3b5e09c1 /elisp/geiser-repl.el
parentf5f3587b6f6a6d7375ff9f715652292070915bab (diff)
downloadgeiser-chez-4de073bacd80820803d129fd7f04e2c210f20442.tar.gz
geiser-chez-4de073bacd80820803d129fd7f04e2c210f20442.tar.bz2
Bug fix: run-geiser and friends now always create a new REPL.
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r--elisp/geiser-repl.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 4ea1bb7..b75fe78 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -124,7 +124,9 @@ implementation name gets appended to it."
(unless (and (eq major-mode 'geiser-repl-mode)
(not (get-buffer-process (current-buffer))))
(let* ((old (geiser-repl--repl/impl impl geiser-repl--closed-repls))
- (old (and (buffer-live-p old) old)))
+ (old (and (buffer-live-p old)
+ (not (get-buffer-process old))
+ old)))
(pop-to-buffer
(or old
(generate-new-buffer (format "* %s *"