diff options
-rw-r--r-- | elisp/geiser-debug.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/elisp/geiser-debug.el b/elisp/geiser-debug.el index 971001f..d2e91ec 100644 --- a/elisp/geiser-debug.el +++ b/elisp/geiser-debug.el @@ -169,10 +169,10 @@ buffer.") (when (or geiser-debug-jump-to-debug-p geiser-debug-show-debug-p) (if geiser-debug-jump-to-debug-p (geiser-debug--pop-to-buffer) - (display-buffer (geiser-debug--buffer)) - (when dbg - (ignore-errors (next-error)) - (message "=> %s" dbg))))))) + (display-buffer (geiser-debug--buffer)))) + (when err + (ignore-errors (next-error)) + (message "=> %s" output))))) (defsubst geiser-debug--wrap-region (str) (format "(begin %s\n)" str)) |