summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-15 15:16:11 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-15 15:16:11 +0200
commit4848f22b633176a33f3b9380be995d11b1355367 (patch)
tree1888316dedc39ee03c8330c6243303e2eb8a35d6 /doc
parent466b5cf8c3b47eaa034b520c22e42c04dd213cc0 (diff)
downloademacs-4848f22b633176a33f3b9380be995d11b1355367.tar.gz
(Using Debugger): Mention @code{eval-expression-debug-on-error}
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/debugging.texi10
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 1800b674308..55aaff1bdd5 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
+
+ * debugging.texi (Using Debugger): Mention
+ @code{eval-expression-debug-on-error} (bug#8549).
+
2011-07-14 Eli Zaretskii <eliz@gnu.org>
* display.texi (Other Display Specs): Document that `left-fringe'
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index ed146453df7..d9e807afb88 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -306,6 +306,16 @@ and it is wise to go back to the backtrace buffer and exit the debugger
the debugger gets out of the recursive edit and kills the backtrace
buffer.
+ When the debugger has been entered, the @code{debug-on-error}
+variable is temporarily set according to
+@code{eval-expression-debug-on-error}. If the latter variable is
+non-@code{nil}, @code{debug-on-error} will temporarily be set to
+@code{t}. This means that any further errors that occur while doing a
+debugging session will (by default) trigger another backtrace. If
+this is not want you want, you can either set
+@code{eval-expression-debug-on-error} to @code{nil}, or set
+@code{debug-on-error} to @code{nil} in @code{debugger-mode-hook}.
+
@cindex current stack frame
The backtrace buffer shows you the functions that are executing and
their argument values. It also allows you to specify a stack frame by