[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/advice.texi
From: |
Markus Rost |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/advice.texi |
Date: |
Sat, 05 Jul 2003 21:31:34 -0400 |
Index: emacs/lispref/advice.texi
diff -c emacs/lispref/advice.texi:1.15 emacs/lispref/advice.texi:1.16
*** emacs/lispref/advice.texi:1.15 Tue Jun 24 14:14:01 2003
--- emacs/lispref/advice.texi Sat Jul 5 21:31:34 2003
***************
*** 331,342 ****
@cindex advice, activating
By default, advice does not take effect when you define it---only when
! you @dfn{activate} advice for the function that was advised. 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
--- 331,344 ----
@cindex advice, activating
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.
Separating the activation of advice from the act of defining it permits
you to add several pieces of advice to one function efficiently, without
***************
*** 416,423 ****
@deffn Command ad-start-advice
Turn on automatic advice activation when a function is defined or
! redefined. If you turn on this mode, then advice takes effect
! immediately when defined.
@end deffn
@deffn Command ad-stop-advice
--- 418,424 ----
@deffn Command ad-start-advice
Turn on automatic advice activation when a function is defined or
! redefined. This mode is turned on by default.
@end deffn
@deffn Command ad-stop-advice
- [Emacs-diffs] Changes to emacs/lispref/advice.texi,
Markus Rost <=