Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
25874:906a123add31 | 25875:6a17c48b52ef |
---|---|
166 the sake of advice. This becomes the argument list of the combined | 166 the sake of advice. This becomes the argument list of the combined |
167 definition that is generated in order to run the advice (@pxref{Combined | 167 definition that is generated in order to run the advice (@pxref{Combined |
168 Definition}). Therefore, the advice expressions can use the argument | 168 Definition}). Therefore, the advice expressions can use the argument |
169 variables in this list to access argument values. | 169 variables in this list to access argument values. |
170 | 170 |
171 This argument list must be compatible with the argument list of the | 171 The argument list used in advice need not be the same as the argument |
172 original function, so that it can handle the ways the function is | 172 list used in the original function, but must be compatible with it, so |
173 actually called. If more than one piece of advice specifies an argument | 173 that it can handle the ways the function is actually called. If two |
174 list, then the first one (the one with the smallest position) found in | 174 pieces of advice for a function both specify an argument list, they must |
175 the list of all classes of advice is used. | 175 specify the same argument list. |
176 | 176 |
177 @xref{Argument Access in Advice}, for more information about argument | 177 @xref{Argument Access in Advice}, for more information about argument |
178 lists and advice. | 178 lists and advice, and a more flexible way for advice to access the |
179 arguments. | |
179 | 180 |
180 The remaining elements, @var{flags}, are symbols that specify further | 181 The remaining elements, @var{flags}, are symbols that specify further |
181 information about how to use this piece of advice. Here are the valid | 182 information about how to use this piece of advice. Here are the valid |
182 symbols and their meanings: | 183 symbols and their meanings: |
183 | 184 |