Mercurial > emacs
changeset 39169:338b1a97adf7
Minor clarifications.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 06 Sep 2001 19:50:51 +0000 |
parents | 0317f0f05c37 |
children | 18505c69ffa6 |
files | lispref/advice.texi lispref/loading.texi |
diffstat | 2 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/advice.texi Thu Sep 06 19:50:20 2001 +0000 +++ b/lispref/advice.texi Thu Sep 06 19:50:51 2001 +0000 @@ -14,10 +14,12 @@ @cindex piece of advice Each function can have multiple @dfn{pieces of advice}, separately -defined. Each defined piece of advice can be enabled or disabled -explicitly. The enabled pieces of advice for any given function -actually take effect when you @dfn{activate} advice for that function, or when -that function is subsequently defined or redefined. +defined. Each defined piece of advice can be @dfn{enabled} or +disabled explicitly. All the enabled pieces of advice for any given +function actually take effect when you @dfn{activate} advice for that +function, or when you define or redefine the function. Note that +enabling a piece of advice and activating advice for a function +are not the same thing. @strong{Usage Note:} Advice is useful for altering the behavior of existing calls to an existing function. If you want the new behavior @@ -191,7 +193,7 @@ defining this piece of advice. @cindex forward advice -This flag has no effect if @var{function} itself is not defined yet (a +This flag has no immediate effect if @var{function} itself is not defined yet (a situation known as @dfn{forward advice}), because it is impossible to activate an undefined function's advice. However, defining @var{function} will automatically activate its advice.
--- a/lispref/loading.texi Thu Sep 06 19:50:20 2001 +0000 +++ b/lispref/loading.texi Thu Sep 06 19:50:51 2001 +0000 @@ -739,10 +739,10 @@ @item Symbols that were defined by this library. @item -Lists of the form @code{(require . @var{feature})} indicating +Cons cells of the form @code{(require . @var{feature})} indicating features that were required. @item -Lists of the form @code{(provide . @var{feature})} indicating +Cons cells of the form @code{(provide . @var{feature})} indicating features that were provided. @end itemize