Skip to content

Commit

Permalink
[Fix #1122] Run client initialization in new client buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
vspinu committed Jun 20, 2015
1 parent b7fb01c commit 9f3a409
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nrepl-client.el
Original file line number Diff line number Diff line change
Expand Up @@ -759,8 +759,9 @@ process."
nrepl-completed-requests (make-hash-table :test 'equal)))

(nrepl-make-connection-default client-buf)
(nrepl--init-client-sessions client-proc)
(nrepl--init-capabilities client-buf)
(with-current-buffer client-buf
(nrepl--init-client-sessions client-proc)
(nrepl--init-capabilities client-buf))

(with-current-buffer client-buf
(run-hooks 'nrepl-connected-hook))
Expand Down

0 comments on commit 9f3a409

Please sign in to comment.