From fb0b3cb860b133619e5298a6ab1d22bace91348d Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sun, 14 Feb 2016 19:17:24 +0000 Subject: Fix cider--close-buffer --- cider-interaction.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cider-interaction.el') 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))) -- cgit v1.2.3