Mercurial > emacs
comparison lispref/debugging.texi @ 52626:fe75563f4d13
Avoid @strong{Note:}.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 26 Sep 2003 10:00:24 +0000 |
| parents | 695cf19ef79e |
| children | 118899be0578 |
comparison
equal
deleted
inserted
replaced
| 52625:bfc707ae140a | 52626:fe75563f4d13 |
|---|---|
| 214 When @code{debug-on-entry} is called interactively, it prompts for | 214 When @code{debug-on-entry} is called interactively, it prompts for |
| 215 @var{function-name} in the minibuffer. If the function is already set | 215 @var{function-name} in the minibuffer. If the function is already set |
| 216 up to invoke the debugger on entry, @code{debug-on-entry} does nothing. | 216 up to invoke the debugger on entry, @code{debug-on-entry} does nothing. |
| 217 @code{debug-on-entry} always returns @var{function-name}. | 217 @code{debug-on-entry} always returns @var{function-name}. |
| 218 | 218 |
| 219 @strong{Note:} if you redefine a function after using | 219 @strong{Warning:} if you redefine a function after using |
| 220 @code{debug-on-entry} on it, the code to enter the debugger is discarded | 220 @code{debug-on-entry} on it, the code to enter the debugger is |
| 221 by the redefinition. In effect, redefining the function cancels | 221 discarded by the redefinition. In effect, redefining the function |
| 222 the break-on-entry feature for that function. | 222 cancels the break-on-entry feature for that function. |
| 223 | 223 |
| 224 @example | 224 @example |
| 225 @group | 225 @group |
| 226 (defun fact (n) | 226 (defun fact (n) |
| 227 (if (zerop n) 1 | 227 (if (zerop n) 1 |
