help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How many parameters does an elisp function take?


From: Kevin Rodgers
Subject: Re: How many parameters does an elisp function take?
Date: Wed, 16 Feb 2005 13:45:31 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

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.

--
Kevin Rodgers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]