summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-11-29 14:55:23 +0000
committerDave Love <fx@gnu.org>2000-11-29 14:55:23 +0000
commitaad529410b9a127253be02eb2ebca1054b91a840 (patch)
tree4ddd998e19e81a10e09dc366e08f1e2446cd35f8 /lispref
parent6ad948eb502f79cb5872d8fa115f5ce97808ce8d (diff)
downloademacs-aad529410b9a127253be02eb2ebca1054b91a840.tar.gz
subr-arity
Diffstat (limited to 'lispref')
-rw-r--r--lispref/functions.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/lispref/functions.texi b/lispref/functions.texi
index 6cdcb6bce1b..de726e55104 100644
--- a/lispref/functions.texi
+++ b/lispref/functions.texi
@@ -144,6 +144,16 @@ function. For example:
@end example
@end defun
+@defun subr-arity subr
+@tindex subr-arity
+This function provides information about the argument list of a
+primitive, @var{subr}. The returned value is a pair
+@code{(@var{min} . @var{max})}. @var{min} is the minimum number of
+args. @var{max} is the maximum number or the symbol @code{many}, for a
+function with @code{&rest} arguments, or the symbol @code{unevalled} if
+@var{subr} is a special form.
+@end defun
+
@node Lambda Expressions
@section Lambda Expressions
@cindex lambda expression