]> git.eshelyaron.com Git - emacs.git/commitdiff
subr-arity
authorDave Love <fx@gnu.org>
Wed, 29 Nov 2000 14:55:23 +0000 (14:55 +0000)
committerDave Love <fx@gnu.org>
Wed, 29 Nov 2000 14:55:23 +0000 (14:55 +0000)
lispref/functions.texi

index 6cdcb6bce1bb3cc83630b577dea546646e467d6a..de726e55104e3d50e52f3ea4fc04d3878a45e195 100644 (file)
@@ -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