diff options
author | Phillip Rulon <pjr@gnu.org> | 1999-10-05 23:26:05 +0000 |
---|---|---|
committer | Phillip Rulon <pjr@gnu.org> | 1999-10-05 23:26:05 +0000 |
commit | a40d4712b29a99f060a32e8546d8b4522db4b284 (patch) | |
tree | 5d272ec75e9255e41b69e010f45bf198259db5b5 /lispref/advice.texi | |
parent | 46fe917b5aecf6fb0c850a744684ab40b56774b8 (diff) | |
download | emacs-a40d4712b29a99f060a32e8546d8b4522db4b284.tar.gz |
*** empty log message ***
Diffstat (limited to 'lispref/advice.texi')
-rw-r--r-- | lispref/advice.texi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lispref/advice.texi b/lispref/advice.texi index 6ff93495447..2227e9d5881 100644 --- a/lispref/advice.texi +++ b/lispref/advice.texi @@ -168,14 +168,15 @@ definition that is generated in order to run the advice (@pxref{Combined Definition}). Therefore, the advice expressions can use the argument variables in this list to access argument values. -This argument list must be compatible with the argument list of the -original function, so that it can handle the ways the function is -actually called. If more than one piece of advice specifies an argument -list, then the first one (the one with the smallest position) found in -the list of all classes of advice is used. +The argument list used in advice need not be the same as the argument +list used in the original function, but must be compatible with it, so +that it can handle the ways the function is actually called. If two +pieces of advice for a function both specify an argument list, they must +specify the same argument list. @xref{Argument Access in Advice}, for more information about argument -lists and advice. +lists and advice, and a more flexible way for advice to access the +arguments. The remaining elements, @var{flags}, are symbols that specify further information about how to use this piece of advice. Here are the valid |