mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-18 18:05:07 +00:00
Minor cleanups of previous changes.
This commit is contained in:
parent
ad5378567a
commit
20853e2fea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user