diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-02-14 19:17:24 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-02-14 19:17:24 +0000 |
commit | fb0b3cb860b133619e5298a6ab1d22bace91348d (patch) | |
tree | ab8bb18a880cca8a13b3d7f0e554914dc65b54b4 /cider-interaction.el | |
parent | 7d7360463186ef900ea8c1f8b207f2947cd5e18f (diff) |
Fix cider--close-buffer
Diffstat (limited to 'cider-interaction.el')
-rw-r--r-- | cider-interaction.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cider-interaction.el b/cider-interaction.el index 89945121..788162c1 100644 --- a/cider-interaction.el +++ b/cider-interaction.el @@ -1555,9 +1555,9 @@ the string contents of the region into a formatted string." ;; Sync request will hang if the server is dead. (process-live-p (get-buffer-process nrepl-server-buffer))) (when nrepl-session - (nrepl-sync-request:close (cider-current-connection) nrepl-session)) + (nrepl-sync-request:close buffer nrepl-session)) (when nrepl-tooling-session - (nrepl-sync-request:close (cider-current-connection) nrepl-tooling-session))) + (nrepl-sync-request:close buffer nrepl-tooling-session))) (when proc (delete-process proc))))) (kill-buffer buffer))) |