summaryrefslogtreecommitdiff
path: root/elisp/geiser-debug.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-03-08 02:14:03 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-03-08 02:14:03 +0100
commite8f56a6bbca1c2e9b4be42630abb518335c7319e (patch)
tree5018bed25a22d375a1cb4c23c84cf52beda294e8 /elisp/geiser-debug.el
parenta8b44d6042c9ccbaaefb810bbcc683582b386561 (diff)
downloadgeiser-e8f56a6bbca1c2e9b4be42630abb518335c7319e.tar.gz
geiser-e8f56a6bbca1c2e9b4be42630abb518335c7319e.tar.bz2
Hook to setup the debugger when it's launched.
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)