From: Eli Zaretskii Date: Sat, 22 Sep 2012 13:24:58 +0000 (+0300) Subject: edebug.texi (Instrumenting): Improve indexing. X-Git-Tag: emacs-24.2.90~256 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=287d74553b1116a8e3e97e399e231c0423429aca;p=emacs.git edebug.texi (Instrumenting): Improve indexing. --- 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