diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-03-08 02:14:03 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-03-08 02:14:03 +0100 |
commit | 5713490e2ca1bb5ac77cddbbaf97cce5ac9fa0b1 (patch) | |
tree | 6da78a06c4e34ca9d0d47466c77c46eb55fee7ba /elisp/geiser-debug.el | |
parent | fd87a78cd54874a7f8260cdae11868d6ab718f09 (diff) | |
download | geiser-guile-5713490e2ca1bb5ac77cddbbaf97cce5ac9fa0b1.tar.gz geiser-guile-5713490e2ca1bb5ac77cddbbaf97cce5ac9fa0b1.tar.bz2 |
Hook to setup the debugger when it's launched.
Diffstat (limited to 'elisp/geiser-debug.el')
-rw-r--r-- | elisp/geiser-debug.el | 5 |
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) |