[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How many parameters does an elisp function take?
From: |
Alan Mackenzie |
Subject: |
How many parameters does an elisp function take? |
Date: |
Wed, 16 Feb 2005 20:11:53 +0000 |
User-agent: |
tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) |
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").
- How many parameters does an elisp function take?,
Alan Mackenzie <=