summaryrefslogtreecommitdiff
path: root/cider.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-08-30 02:13:31 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-08-30 02:25:35 +0100
commite16342587084f57fffbb9afd8f818c27c901ae8a (patch)
treec530c6cb1c65d852a011a7c90a7c7ed01af2bdd7 /cider.el
parent095d5ab7d7aace37a443b9205a155e345cb28d3e (diff)
Make relevant-connection a little smarter, and rename it to current-connection
Diffstat (limited to 'cider.el')
-rw-r--r--cider.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider.el b/cider.el
index 63499019..87c9b4b6 100644
--- a/cider.el
+++ b/cider.el
@@ -194,7 +194,7 @@ REPL."
"Create a ClojureScript REPL with the same server as CLIENT-BUFFER.
The new buffer will correspond to the same project as CLIENT-BUFFER, which
should be the regular Clojure REPL started by the server process filter."
- (interactive (list (cider-find-relevant-connection)))
+ (interactive (list (cider-current-connection)))
(let* ((nrepl-repl-buffer-name-template "*cider-repl CLJS%s*")
(nrepl-create-client-buffer-function #'cider-repl-create)
(nrepl-use-this-as-repl-buffer 'new)