unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* get nargs for a function
@ 2015-08-28 16:55 Sam Halliday
  2015-08-28 17:10 ` Ian Zimmerman
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sam Halliday @ 2015-08-28 16:55 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

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).

Best regards,
Sam


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-01 11:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 16:55 get nargs for a function Sam Halliday
2015-08-28 17:10 ` Ian Zimmerman
2015-08-29 21:41 ` Stefan Monnier
     [not found] ` <mailman.164.1440884507.19560.help-gnu-emacs@gnu.org>
2015-08-29 22:41   ` Sam Halliday
2015-08-30  2:22     ` Stefan Monnier
     [not found]     ` <mailman.178.1440901363.19560.help-gnu-emacs@gnu.org>
2015-08-30 14:14       ` Sam Halliday
2015-08-31  0:17         ` Stefan Monnier
     [not found]         ` <mailman.227.1440980264.19560.help-gnu-emacs@gnu.org>
2015-09-01 11:30           ` Sam Halliday

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).