aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/advice.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2003-07-12 21:55:24 +0000
committerRichard M. Stallman <[email protected]>2003-07-12 21:55:24 +0000
commit20853e2fea62d9e71bcb4a32a8218a54d934f5e0 (patch)
tree0aa022762ee7b7ab543e3f4e7a7ee05686d7213f /lispref/advice.texi
parentad5378567ab7901a3f2d6cc115b90f851cde8052 (diff)
Minor cleanups of previous changes.
Diffstat (limited to 'lispref/advice.texi')
-rw-r--r--lispref/advice.texi15
1 files changed, 7 insertions, 8 deletions
diff --git a/lispref/advice.texi b/lispref/advice.texi
index 92c37b8393..1733da3947 100644
--- a/lispref/advice.texi
+++ b/lispref/advice.texi
@@ -332,13 +332,12 @@ replaced with the new one.
By default, advice does not take effect when you define it---only when
you @dfn{activate} advice for the function that was advised. However
-the advice will be automatically activated when the function is
-defined or redefined later. You can request the activation of advice
-for a function when you define the advice, by specifying the
-@code{activate} flag in the @code{defadvice}. But normally you
-activate the advice for a function by calling the function
-@code{ad-activate} or one of the other activation commands listed
-below.
+the advice will be automatically activated if the function is defined
+or redefined later. You can request the activation of advice for a
+function when you define the advice, by specifying the @code{activate}
+flag in the @code{defadvice}. But normally you activate the advice
+for a function by calling the function @code{ad-activate} or one of
+the other activation commands listed below.
Separating the activation of advice from the act of defining it permits
you to add several pieces of advice to one function efficiently, without
@@ -418,7 +417,7 @@ last time it was activated.
@deffn Command ad-start-advice
Turn on automatic advice activation when a function is defined or
-redefined. This mode is turned on by default.
+redefined. This is the default mode.
@end deffn
@deffn Command ad-stop-advice