summaryrefslogtreecommitdiff
path: root/cider.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2015-08-12 19:42:39 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2015-08-12 19:42:39 +0300
commit52ce55253705b6260d1edd6df1f2b59f33064a07 (patch)
treed619d427d1382dc26d847b81a8851d3af2744a08 /cider.el
parent2ff96a9759d883f630b642c19ab08232b3c4dd29 (diff)
Add optional params to cider-assoc-project-with-connection
Diffstat (limited to 'cider.el')
-rw-r--r--cider.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/cider.el b/cider.el
index 38183640..4b7de8d5 100644
--- a/cider.el
+++ b/cider.el
@@ -265,7 +265,9 @@ Create REPL buffer and start an nREPL client connection."
(nrepl-use-this-as-repl-buffer repl-buff))
(nrepl-start-client-process host port)
(when (y-or-n-p "Do you want to associate the new connection with a local project? ")
- (cider-assoc-project-with-connection)))))
+ (cider-assoc-project-with-connection
+ nil
+ (nrepl-default-connection-buffer))))))
(defun cider-select-endpoint ()
"Interactively select the host and port to connect to."