diff options
| author | Richard M. Stallman | 2003-07-12 21:55:24 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-07-12 21:55:24 +0000 |
| commit | 20853e2fea62d9e71bcb4a32a8218a54d934f5e0 (patch) | |
| tree | 0aa022762ee7b7ab543e3f4e7a7ee05686d7213f | |
| parent | ad5378567ab7901a3f2d6cc115b90f851cde8052 (diff) | |
| download | emacs-20853e2fea62d9e71bcb4a32a8218a54d934f5e0.tar.gz emacs-20853e2fea62d9e71bcb4a32a8218a54d934f5e0.zip | |
Minor cleanups of previous changes.
| -rw-r--r-- | lispref/advice.texi | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lispref/advice.texi b/lispref/advice.texi index 92c37b83936..1733da39478 100644 --- a/lispref/advice.texi +++ b/lispref/advice.texi | |||
| @@ -332,13 +332,12 @@ replaced with the new one. | |||
| 332 | 332 | ||
| 333 | By default, advice does not take effect when you define it---only when | 333 | By default, advice does not take effect when you define it---only when |
| 334 | you @dfn{activate} advice for the function that was advised. However | 334 | you @dfn{activate} advice for the function that was advised. However |
| 335 | the advice will be automatically activated when the function is | 335 | the advice will be automatically activated if the function is defined |
| 336 | defined or redefined later. You can request the activation of advice | 336 | or redefined later. You can request the activation of advice for a |
| 337 | for a function when you define the advice, by specifying the | 337 | function when you define the advice, by specifying the @code{activate} |
| 338 | @code{activate} flag in the @code{defadvice}. But normally you | 338 | flag in the @code{defadvice}. But normally you activate the advice |
| 339 | activate the advice for a function by calling the function | 339 | for a function by calling the function @code{ad-activate} or one of |
| 340 | @code{ad-activate} or one of the other activation commands listed | 340 | the other activation commands listed below. |
| 341 | below. | ||
| 342 | 341 | ||
| 343 | Separating the activation of advice from the act of defining it permits | 342 | Separating the activation of advice from the act of defining it permits |
| 344 | you to add several pieces of advice to one function efficiently, without | 343 | you to add several pieces of advice to one function efficiently, without |
| @@ -418,7 +417,7 @@ last time it was activated. | |||
| 418 | 417 | ||
| 419 | @deffn Command ad-start-advice | 418 | @deffn Command ad-start-advice |
| 420 | Turn on automatic advice activation when a function is defined or | 419 | Turn on automatic advice activation when a function is defined or |
| 421 | redefined. This mode is turned on by default. | 420 | redefined. This is the default mode. |
| 422 | @end deffn | 421 | @end deffn |
| 423 | 422 | ||
| 424 | @deffn Command ad-stop-advice | 423 | @deffn Command ad-stop-advice |