summaryrefslogtreecommitdiff
path: root/elisp/geiser-debug.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-debug.el')
-rw-r--r--elisp/geiser-debug.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/elisp/geiser-debug.el b/elisp/geiser-debug.el
index b181ef5..cfa193c 100644
--- a/elisp/geiser-debug.el
+++ b/elisp/geiser-debug.el
@@ -59,7 +59,10 @@ non-null value.")
(output (geiser-eval--retort-output ret))
(impl geiser-impl--implementation)
(module (geiser-eval--get-module)))
- (if (eq key 'geiser-debugger) (switch-to-geiser)
+ (if (eq key 'geiser-debugger)
+ (progn
+ (switch-to-geiser)
+ (geiser-debug--display-error impl module key output))
(geiser-debug--with-buffer
(erase-buffer)
(insert what)