From 287d74553b1116a8e3e97e399e231c0423429aca Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 22 Sep 2012 16:24:58 +0300 Subject: [PATCH] edebug.texi (Instrumenting): Improve indexing. --- doc/lispref/ChangeLog | 2 ++ doc/lispref/edebug.texi | 3 +++ 2 files changed, 5 insertions(+) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 8acd12d82a8..db545f8ec91 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,5 +1,7 @@ 2012-09-22 Eli Zaretskii + * edebug.texi (Instrumenting): Improve indexing. + * os.texi (Idle Timers): Warn against reinvoking an idle timer from within its own timer action. (Bug#12447) diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi index 99b4c217845..0211f9e1b9c 100644 --- a/doc/lispref/edebug.texi +++ b/doc/lispref/edebug.texi @@ -150,6 +150,7 @@ display a list of all Edebug commands. @node Instrumenting @subsection Instrumenting for Edebug +@cindex instrumenting for Edebug In order to use Edebug to debug Lisp code, you must first @dfn{instrument} the code. Instrumenting code inserts additional code @@ -179,9 +180,11 @@ to loading or evaluations in the minibuffer. The command @kbd{M-x edebug-all-forms} toggles this option. @findex edebug-eval-top-level-form +@findex edebug-defun Another command, @kbd{M-x edebug-eval-top-level-form}, is available to instrument any top-level form regardless of the values of @code{edebug-all-defs} and @code{edebug-all-forms}. +@code{edebug-defun} is an alias for @code{edebug-eval-top-level-form}. While Edebug is active, the command @kbd{I} (@code{edebug-instrument-callee}) instruments the definition of the -- 2.11.4.GIT