summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXue Fuqiao <xfq.free@gmail.com>2013-12-22 11:36:04 +0800
committerXue Fuqiao <xfq.free@gmail.com>2013-12-22 11:36:04 +0800
commitc9832cd81039676761e5c40d5ed939435f1b0c56 (patch)
treedb48fc750766aca21cc5b05c00b9c785010cdb42
parentced5cc2911ef5457d64db91b73543cd92f650521 (diff)
downloademacs-c9832cd81039676761e5c40d5ed939435f1b0c56.tar.gz
Document `debugger-toggle-locals'.
* doc/lispref/debugging.texi (Debugger Commands): Document `debugger-toggle-locals'.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/debugging.texi5
-rw-r--r--etc/NEWS3
3 files changed, 11 insertions, 1 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index ccd236403b8..540ac07bf9f 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
+2013-12-22 Xue Fuqiao <xfq.free@gmail.com>
+
+ * debugging.texi (Debugger Commands): Document `debugger-toggle-locals'.
+
2013-12-21 Chong Yidong <cyd@gnu.org>
* text.texi (Region Indent): Note the new interactive behavior of
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index 335e3f802d2..6cbc0b48b5e 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -388,6 +388,7 @@ the same function. (To do this, visit the source for the function and
type @kbd{C-M-x} on its definition.) You cannot use the Lisp debugger
to step through a primitive function.
+@c FIXME: Add @findex for the following commands? --xfq
Here is a list of Debugger mode commands:
@table @kbd
@@ -462,6 +463,10 @@ This is a list of functions that are set to break on entry by means of
@code{debug-on-entry}. @strong{Warning:} if you redefine such a
function and thus cancel the effect of @code{debug-on-entry}, it may
erroneously show up in this list.
+
+@item v
+Display local variables (@pxref{Local Variables}) of the current stack
+frame. Press @kbd{e} again to hide them.
@end table
@node Invoking the Debugger
diff --git a/etc/NEWS b/etc/NEWS
index 100eb873137..b8d6c445348 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -304,7 +304,8 @@ Also the following files used by the now obsolete otodo-mode.el:
when evaluating the code in the context at point. Hence, it now lets
you access lexical variables.
-*** New command `v' (`debuger-toggle-locals) displays local vars.
++++
+*** New command `v' (`debugger-toggle-locals') displays local vars.
*** New minor mode `jit-lock-debug-mode' lets you use the debuggers on
code run via JIT Lock.