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

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

Re: get nargs for a function


From: Ian Zimmerman
Subject: Re: get nargs for a function
Date: Fri, 28 Aug 2015 10:10:28 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

On 2015-08-28 09:55 -0700, Sam Halliday wrote:

> Is there a built in way to return the arg list (actually just the
> number of args) for a function that has been passed to me?
 
> If I was just in dynamic scope, I could get cadr and count the size,
> but I have to support closure as well which is caddr (and however that
> changes in the future).

How does advice do it?

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.




reply via email to

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