summaryrefslogtreecommitdiff
path: root/cider.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-08-29 19:53:32 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-08-30 02:25:35 +0100
commit7f7bd64101ae4fc10595b7d6bba74b51e11f2e7d (patch)
tree470c54b8ed7ffb5084b63cae6d0b041e6801f1da /cider.el
parent928738333282e25c9ce8f6cb1985d64381491b14 (diff)
Alias cider-current-repl-buffer to cider-find-relevant-connection
Diffstat (limited to 'cider.el')
-rw-r--r--cider.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/cider.el b/cider.el
index 7cef7ca3..ba3d4b6a 100644
--- a/cider.el
+++ b/cider.el
@@ -194,9 +194,9 @@ 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-current-repl-buffer)))
+ (interactive (list (cider-find-relevant-connection)))
(let* ((nrepl-repl-buffer-name-template "*cider-repl CLJS%s*")
- (nrepl-create-client-buffer-function #'cider-repl-create)
+ (nrepl-create-client-buffer-function #'cider-repl-create)
(nrepl-use-this-as-repl-buffer 'new)
(client-process-args (with-current-buffer client-buffer
(unless (or nrepl-server-buffer nrepl-endpoint)