Skip to content

Commit

Permalink
Merge pull request #1150 from vspinu/1122
Browse files Browse the repository at this point in the history
[Fix #1122] Run client initialization in new client buffer
  • Loading branch information
bbatsov committed Jun 20, 2015
2 parents b7fb01c + 9f3a409 commit 9a0a6b0
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 9a0a6b0

Please sign in to comment.