Kevin Rodgers <[EMAIL PROTECTED]> writes:

> Alan Mackenzie wrote:
>> Is it possible to determine at run time how many parameters an elisp
>> function takes?  For example, I'd like to write something like:
>> (how-many-params 'null)
>> and have it evaluate to 1.  Or something like that.  Together with
>> some
>> reasonable convention for indicating &optional and &rest arguments.
>
> I would start with eldoc-function-arglist.

For built-in functions, subr-arity might help.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to