diff options
| -rw-r--r-- | doc/lispref/functions.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 78372a8a10e..86181f1b491 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -498,6 +498,14 @@ derived from the actual arguments of the function. | |||
| 498 | arguments written in a macro definition often do not correspond to the | 498 | arguments written in a macro definition often do not correspond to the |
| 499 | way users think of the parts of the macro call. | 499 | way users think of the parts of the macro call. |
| 500 | 500 | ||
| 501 | Do not use this feature if you want to deprecate the calling | ||
| 502 | convention and favor the one you advertise by the above specification. | ||
| 503 | Instead, use the @code{advertised-calling-convention} declaration | ||
| 504 | (@pxref{Declare Form}) or @code{set-advertised-calling-convention} | ||
| 505 | (@pxref{Obsolete Functions}), because these two will cause the byte | ||
| 506 | compiler emit a warning message when it compiles Lisp programs which | ||
| 507 | use the deprecated calling convention. | ||
| 508 | |||
| 501 | @node Function Names | 509 | @node Function Names |
| 502 | @section Naming a Function | 510 | @section Naming a Function |
| 503 | @cindex function definition | 511 | @cindex function definition |