diff options
Diffstat (limited to 'lispref/edebug.texi')
-rw-r--r-- | lispref/edebug.texi | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/lispref/edebug.texi b/lispref/edebug.texi index 6447fbe37c5..f074cf3dbd5 100644 --- a/lispref/edebug.texi +++ b/lispref/edebug.texi @@ -330,7 +330,7 @@ program to stop. Proceed to the stop point near where point is (@code{edebug-goto-here}). @item f -Run the program forward over one expression +Run the program for one expression (@code{edebug-forward-sexp}). @item o @@ -462,9 +462,9 @@ point (@code{edebug-unset-breakpoint}). @item x @var{condition} @key{RET} Set a conditional breakpoint which stops the program only if -@var{condition} evaluates to a non-@code{nil} value -(@code{edebug-set-conditional-breakpoint}). With a prefix argument, the -breakpoint is temporary. +evaluating @var{condition} produces a non-@code{nil} value +(@code{edebug-set-conditional-breakpoint}). With a prefix argument, +the breakpoint is temporary. @item B Move point to the next breakpoint in the current definition @@ -585,8 +585,8 @@ effect outside of Edebug. @table @kbd @item v -View the outside window configuration (@code{edebug-view-outside}). -Type @kbd{C-x X w} to return to Edebug. +Switch to viewing the outside window configuration +(@code{edebug-view-outside}). Type @kbd{C-x X w} to return to Edebug. @item p Temporarily display the outside current buffer with point at its @@ -1035,11 +1035,12 @@ saves (and later restores) these additional data: The current match data. @xref{Match Data}. @item -@code{last-command}, @code{this-command}, @code{last-command-char}, -@code{last-input-char}, @code{last-input-event}, -@code{last-command-event}, @code{last-event-frame}, -@code{last-nonmenu-event}, and @code{track-mouse}. Commands used within -Edebug do not affect these variables outside of Edebug. +The variables @code{last-command}, @code{this-command}, +@code{last-command-char}, @code{last-input-char}, +@code{last-input-event}, @code{last-command-event}, +@code{last-event-frame}, @code{last-nonmenu-event}, and +@code{track-mouse}. Commands used within Edebug do not affect these +variables outside of Edebug. The key sequence returned by @code{this-command-keys} is changed by executing commands within Edebug and there is no way to reset @@ -1099,13 +1100,13 @@ macro. To do this, add a @code{debug} declaration to the macro definition. Here is a simple example that shows the specification for the @code{for} example macro (@pxref{Argument Evaluation}). -@example +@smallexample (defmacro for (var from init to final do &rest body) "Execute a simple \"for\" loop. For example, (for i from 1 to 10 do (print i))." (declare (debug (symbolp "from" form "to" form "do" &rest form))) ...) -@end example +@end smallexample The Edebug specification says which parts of a call to the macro are forms to be evaluated. For simple macros, the @var{specification} |