summaryrefslogtreecommitdiff
path: root/cider.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2015-09-06 20:40:39 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2015-09-06 20:40:39 +0300
commit173ed9a9a06cb1a12c4fa0354234fdddafcca637 (patch)
tree7d74773023b7c799af9be005f281082b49975db1 /cider.el
parente91f8ec29bb3e025553f256e3c63fd13fecc0034 (diff)
[Fix #1305] Move connection update code before the REPL's init
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 5f394d5b..4de43ddc 100644
--- a/cider.el
+++ b/cider.el
@@ -430,8 +430,8 @@ In case `default-directory' is non-local we assume the command is available."
This function is appended to `nrepl-connected-hook' in the client process
buffer."
;; `nrepl-connected-hook' is run in connection buffer
- (cider-repl-init (current-buffer))
(cider-make-connection-default (current-buffer))
+ (cider-repl-init (current-buffer))
(cider--check-required-nrepl-version)
(cider--check-required-nrepl-ops)
(cider--check-middleware-compatibility)