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
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to