summaryrefslogtreecommitdiff
path: root/cider-debug.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-08-29 22:27:08 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-08-30 02:25:35 +0100
commit095d5ab7d7aace37a443b9205a155e345cb28d3e (patch)
treed5a5ddf7a33dda50b011a24e27e747a30f088546 /cider-debug.el
parentbb54b7b43214cfafef1508ba8d168d95590e0e37 (diff)
Replace default-connection with relevant-connection in most places
Diffstat (limited to 'cider-debug.el')
-rw-r--r--cider-debug.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-debug.el b/cider-debug.el
index 824ba53e..c0fec976 100644
--- a/cider-debug.el
+++ b/cider-debug.el
@@ -335,7 +335,7 @@ In order to work properly, this mode must be activated by
;; cider-nrepl has a chance to send the next message, and so that the user
;; doesn't accidentally hit `n' between two messages (thus editing the code).
(-when-let (proc (unless nrepl-ongoing-sync-request
- (get-buffer-process (cider-default-connection))))
+ (get-buffer-process (cider-find-relevant-connection))))
;; This is for the `:done' sent in reply to the debug-input we provided.
(when (accept-process-output proc 0.2)
;; This is for actually waiting for the next message.