diff options
author | Michael Griffiths <mikey@cich.li> | 2015-12-29 15:42:56 +0000 |
---|---|---|
committer | Michael Griffiths <mikey@cich.li> | 2015-12-29 17:20:18 +0000 |
commit | 740108f5cf93abb1d20b6be8822a0136ba3c1821 (patch) | |
tree | d1dc5a357ff1789d6f1150199505df8ff93f0f55 /cider-debug.el | |
parent | df40718be3e3a2789e54ec3895d240d97e5d0970 (diff) |
[Fix #1490] Don't show the inspector buffer if evaluation fails
Diffstat (limited to 'cider-debug.el')
-rw-r--r-- | cider-debug.el | 3 |
1 files changed, 1 insertions, 2 deletions
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))))) |