aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-07-12 21:55:24 +0000
committerRichard M. Stallman2003-07-12 21:55:24 +0000
commit20853e2fea62d9e71bcb4a32a8218a54d934f5e0 (patch)
tree0aa022762ee7b7ab543e3f4e7a7ee05686d7213f
parentad5378567ab7901a3f2d6cc115b90f851cde8052 (diff)
downloademacs-20853e2fea62d9e71bcb4a32a8218a54d934f5e0.tar.gz
emacs-20853e2fea62d9e71bcb4a32a8218a54d934f5e0.zip
Minor cleanups of previous changes.
-rw-r--r--lispref/advice.texi15
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
333By default, advice does not take effect when you define it---only when 333By default, advice does not take effect when you define it---only when
334you @dfn{activate} advice for the function that was advised. However 334you @dfn{activate} advice for the function that was advised. However
335the advice will be automatically activated when the function is 335the advice will be automatically activated if the function is defined
336defined or redefined later. You can request the activation of advice 336or redefined later. You can request the activation of advice for a
337for a function when you define the advice, by specifying the 337function when you define the advice, by specifying the @code{activate}
338@code{activate} flag in the @code{defadvice}. But normally you 338flag in the @code{defadvice}. But normally you activate the advice
339activate the advice for a function by calling the function 339for a function by calling the function @code{ad-activate} or one of
340@code{ad-activate} or one of the other activation commands listed 340the other activation commands listed below.
341below.
342 341
343Separating the activation of advice from the act of defining it permits 342Separating the activation of advice from the act of defining it permits
344you to add several pieces of advice to one function efficiently, without 343you 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
420Turn on automatic advice activation when a function is defined or 419Turn on automatic advice activation when a function is defined or
421redefined. This mode is turned on by default. 420redefined. 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