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
commitacd2cde3b603bcc48dc02337398f7418bad3fa29 (patch)
treebd892072740fdb7a827228838d0a9fa83dce76ec /elisp/geiser-debug.el
parent841681e4360b08820bf1e9e0b260a83139d30911 (diff)
downloadgeiser-guile-acd2cde3b603bcc48dc02337398f7418bad3fa29.tar.gz
geiser-guile-acd2cde3b603bcc48dc02337398f7418bad3fa29.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)