aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/debugging.texi
diff options
context:
space:
mode:
authorGlenn Morris2012-11-10 17:16:25 -0800
committerGlenn Morris2012-11-10 17:16:25 -0800
commit57fc0fee5fd12dd5b43323d127fea62040c01c79 (patch)
tree7f00e1a6b890d786c36cae199b70f10a48cdea8c /doc/lispref/debugging.texi
parent164f28b577c860f9a48733952fb5baaf8826eb9d (diff)
downloademacs-57fc0fee5fd12dd5b43323d127fea62040c01c79.tar.gz
emacs-57fc0fee5fd12dd5b43323d127fea62040c01c79.zip
Document debugger-bury-or-kill
* doc/lispref/debugging.texi (Using Debugger): Mention debugger-bury-or-kill. * lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak. * etc/NEWS: Related edit.
Diffstat (limited to 'doc/lispref/debugging.texi')
-rw-r--r--doc/lispref/debugging.texi9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index 9a43cfeac5d..11532b19781 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -322,6 +322,7 @@ is a message describing the reason that the debugger was invoked (such
322as the error message and associated data, if it was invoked due to an 322as the error message and associated data, if it was invoked due to an
323error). 323error).
324 324
325@vindex debugger-bury-or-kill
325 The backtrace buffer is read-only and uses a special major mode, 326 The backtrace buffer is read-only and uses a special major mode,
326Debugger mode, in which letters are defined as debugger commands. The 327Debugger mode, in which letters are defined as debugger commands. The
327usual Emacs editing commands are available; thus, you can switch windows 328usual Emacs editing commands are available; thus, you can switch windows
@@ -330,8 +331,12 @@ switch buffers, visit files, or do any other sort of editing. However,
330the debugger is a recursive editing level (@pxref{Recursive Editing}) 331the debugger is a recursive editing level (@pxref{Recursive Editing})
331and it is wise to go back to the backtrace buffer and exit the debugger 332and it is wise to go back to the backtrace buffer and exit the debugger
332(with the @kbd{q} command) when you are finished with it. Exiting 333(with the @kbd{q} command) when you are finished with it. Exiting
333the debugger gets out of the recursive edit and kills the backtrace 334the debugger gets out of the recursive edit and buries the backtrace
334buffer. 335buffer. (You can customize what the @kbd{q} command does with the
336backtrace buffer by setting the variable @code{debugger-bury-or-kill}.
337For example, set it to @code{kill} if you prefer to kill the buffer
338rather than bury it. Consult the variable's documentation for more
339possibilities.)
335 340
336 When the debugger has been entered, the @code{debug-on-error} 341 When the debugger has been entered, the @code{debug-on-error}
337variable is temporarily set according to 342variable is temporarily set according to