From 740108f5cf93abb1d20b6be8822a0136ba3c1821 Mon Sep 17 00:00:00 2001 From: Michael Griffiths Date: Tue, 29 Dec 2015 15:42:56 +0000 Subject: [Fix #1490] Don't show the inspector buffer if evaluation fails --- cider-debug.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cider-debug.el') diff --git a/cider-debug.el b/cider-debug.el index 0566f55c..ba07d756 100644 --- a/cider-debug.el +++ b/cider-debug.el @@ -536,8 +536,7 @@ needed. It is expected to contain at least \"key\", \"input-type\", and (setq cider--debug-mode-response response) (cider--debug-mode 1))) (when inspect - (cider-inspector--value-handler nil inspect) - (cider-inspector--done-handler (current-buffer)))) + (cider-inspector--value-handler nil inspect))) ;; If something goes wrong, we send a "quit" or the session hangs. (error (cider-debug-mode-send-reply ":quit" key) (message "Error encountered while handling the debug message: %S" e))))) -- cgit v1.2.3