all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How many parameters does an elisp function take?
@ 2005-02-16 20:11 Alan Mackenzie
  2005-02-16 20:45 ` Kevin Rodgers
  2005-02-18 13:59 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Alan Mackenzie @ 2005-02-16 20:11 UTC (permalink / raw)


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.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

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

end of thread, other threads:[~2005-02-22 14:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-16 20:11 How many parameters does an elisp function take? Alan Mackenzie
2005-02-16 20:45 ` Kevin Rodgers
2005-02-16 21:02   ` David Kastrup
2005-02-16 23:56     ` Kevin Rodgers
2005-02-18 13:59 ` Stefan Monnier
2005-02-18 17:43   ` Alan Mackenzie
2005-02-22 14:41     ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.