summaryrefslogtreecommitdiff
path: root/elisp/geiser-debug.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-07 01:45:18 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-09-07 01:45:18 +0200
commit9d596fa6baed97d8ca57b76934c100d0f7fedcae (patch)
tree7e013d34b4237632cf2e47f7ada3e54d941a4e54 /elisp/geiser-debug.el
parentc21b375451a6b47bcb922514a962c9e2dabcf3f0 (diff)
downloadgeiser-9d596fa6baed97d8ca57b76934c100d0f7fedcae.tar.gz
geiser-9d596fa6baed97d8ca57b76934c100d0f7fedcae.tar.bz2
Make next-error (C-x `) work on debug buffers
Diffstat (limited to 'elisp/geiser-debug.el')
-rw-r--r--elisp/geiser-debug.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/elisp/geiser-debug.el b/elisp/geiser-debug.el
index 7f70d19..7b47cd7 100644
--- a/elisp/geiser-debug.el
+++ b/elisp/geiser-debug.el
@@ -11,6 +11,7 @@
+(require 'geiser-edit)
(require 'geiser-autodoc)
(require 'geiser-impl)
(require 'geiser-eval)
@@ -37,6 +38,7 @@
(set-syntax-table scheme-mode-syntax-table)
(setq mode-name "Geiser DBG")
(setq major-mode 'geiser-debug-mode)
+ (setq next-error-function 'geiser-edit--open-next)
(setq buffer-read-only t))
(defun geiser-debug--button-p (nextp)