diff options
| author | Richard M. Stallman | 2001-09-06 19:50:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-09-06 19:50:51 +0000 |
| commit | 9012a201f92eeb7e06904eeecb663ba0ca90cea4 (patch) | |
| tree | e16e82b8c6ee21044735259b5dab379f1ac2b2fa | |
| parent | ae9b6b4a99dd216afb7bc8fac241a898576573da (diff) | |
| download | emacs-9012a201f92eeb7e06904eeecb663ba0ca90cea4.tar.gz emacs-9012a201f92eeb7e06904eeecb663ba0ca90cea4.zip | |
Minor clarifications.
| -rw-r--r-- | lispref/advice.texi | 12 | ||||
| -rw-r--r-- | lispref/loading.texi | 4 |
2 files changed, 9 insertions, 7 deletions
diff --git a/lispref/advice.texi b/lispref/advice.texi index c860f5dd5d2..c2c85ae2047 100644 --- a/lispref/advice.texi +++ b/lispref/advice.texi | |||
| @@ -14,10 +14,12 @@ than redefining the whole function. | |||
| 14 | 14 | ||
| 15 | @cindex piece of advice | 15 | @cindex piece of advice |
| 16 | Each function can have multiple @dfn{pieces of advice}, separately | 16 | Each function can have multiple @dfn{pieces of advice}, separately |
| 17 | defined. Each defined piece of advice can be enabled or disabled | 17 | defined. Each defined piece of advice can be @dfn{enabled} or |
| 18 | explicitly. The enabled pieces of advice for any given function | 18 | disabled explicitly. All the enabled pieces of advice for any given |
| 19 | actually take effect when you @dfn{activate} advice for that function, or when | 19 | function actually take effect when you @dfn{activate} advice for that |
| 20 | that function is subsequently defined or redefined. | 20 | function, or when you define or redefine the function. Note that |
| 21 | enabling a piece of advice and activating advice for a function | ||
| 22 | are not the same thing. | ||
| 21 | 23 | ||
| 22 | @strong{Usage Note:} Advice is useful for altering the behavior of | 24 | @strong{Usage Note:} Advice is useful for altering the behavior of |
| 23 | existing calls to an existing function. If you want the new behavior | 25 | existing calls to an existing function. If you want the new behavior |
| @@ -191,7 +193,7 @@ function; this flag says to do so, for @var{function}, immediately after | |||
| 191 | defining this piece of advice. | 193 | defining this piece of advice. |
| 192 | 194 | ||
| 193 | @cindex forward advice | 195 | @cindex forward advice |
| 194 | This flag has no effect if @var{function} itself is not defined yet (a | 196 | This flag has no immediate effect if @var{function} itself is not defined yet (a |
| 195 | situation known as @dfn{forward advice}), because it is impossible to | 197 | situation known as @dfn{forward advice}), because it is impossible to |
| 196 | activate an undefined function's advice. However, defining | 198 | activate an undefined function's advice. However, defining |
| 197 | @var{function} will automatically activate its advice. | 199 | @var{function} will automatically activate its advice. |
diff --git a/lispref/loading.texi b/lispref/loading.texi index efc1d991fbe..837da4c79a4 100644 --- a/lispref/loading.texi +++ b/lispref/loading.texi | |||
| @@ -739,10 +739,10 @@ composed of these kinds of objects: | |||
| 739 | @item | 739 | @item |
| 740 | Symbols that were defined by this library. | 740 | Symbols that were defined by this library. |
| 741 | @item | 741 | @item |
| 742 | Lists of the form @code{(require . @var{feature})} indicating | 742 | Cons cells of the form @code{(require . @var{feature})} indicating |
| 743 | features that were required. | 743 | features that were required. |
| 744 | @item | 744 | @item |
| 745 | Lists of the form @code{(provide . @var{feature})} indicating | 745 | Cons cells of the form @code{(provide . @var{feature})} indicating |
| 746 | features that were provided. | 746 | features that were provided. |
| 747 | @end itemize | 747 | @end itemize |
| 748 | 748 | ||