Mercurial > emacs
changeset 51883:0eb7f2196a0c
Minor cleanups of previous changes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 12 Jul 2003 21:55:24 +0000 |
parents | 2ba0fcfcd670 |
children | 58bf3c3670d8 |
files | lispref/advice.texi |
diffstat | 1 files changed, 7 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/advice.texi Sat Jul 12 21:53:28 2003 +0000 +++ b/lispref/advice.texi Sat Jul 12 21:55:24 2003 +0000 @@ -332,13 +332,12 @@ 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 @@ @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