]> code.delx.au - gnu-emacs/blobdiff - lispref/advice.texi
*** empty log message ***
[gnu-emacs] / lispref / advice.texi
index 92c37b83936114f9366847bb6ea8e989ee44ab98..46d4f96a35b58943ab1484b35e87a95fab34d5f3 100644 (file)
@@ -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
@@ -752,3 +751,7 @@ pieces of advice is the same.  The only difference is that
 executed even if some previous piece of advice had an error or a
 non-local exit.  If any around-advice is protected, then the whole
 around-advice onion is protected as a result.
+
+@ignore
+   arch-tag: 80c135c2-f1c3-4f8d-aa85-f8d8770d307f
+@end ignore