Mercurial > emacs
diff lispref/advice.texi @ 25875:6a17c48b52ef
*** empty log message ***
author | Phillip Rulon <pjr@gnu.org> |
---|---|
date | Tue, 05 Oct 1999 23:26:05 +0000 |
parents | 467b88fab665 |
children | 0a2e406af7e1 |
line wrap: on
line diff
--- a/lispref/advice.texi Tue Oct 05 22:18:23 1999 +0000 +++ b/lispref/advice.texi Tue Oct 05 23:26:05 1999 +0000 @@ -168,14 +168,15 @@ 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