emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/advice.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/advice.texi
Date: Sat, 12 Jul 2003 17:55:24 -0400

Index: emacs/lispref/advice.texi
diff -c emacs/lispref/advice.texi:1.16 emacs/lispref/advice.texi:1.17
*** emacs/lispref/advice.texi:1.16      Sat Jul  5 21:31:34 2003
--- emacs/lispref/advice.texi   Sat Jul 12 17:55:24 2003
***************
*** 332,344 ****
  
  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
--- 332,343 ----
  
  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 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,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
--- 417,423 ----
  
  @deffn Command ad-start-advice
  Turn on automatic advice activation when a function is defined or
! redefined.  This is the default mode.
  @end deffn
  
  @deffn Command ad-stop-advice




reply via email to

[Prev in Thread] Current Thread [Next in Thread]