From df93d3f4a298f29a43c754f5ef9e4dce3b4e28fd Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 7 Sep 2009 01:24:22 +0200 Subject: Bug fix: run-geiser and friends now always create a new REPL. --- elisp/geiser-repl.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 *" -- cgit v1.2.3