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

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

RE: funcallable-p?


From: Drew Adams
Subject: RE: funcallable-p?
Date: Sun, 26 Aug 2007 07:43:40 -0700

> > `functionp' doesn't distinguish between functions and
> > special forms, right? If so, is there an
> > idiom or convention for such a test, of shall I just test
> > `functionp' and not a member of the list of special forms?
>
> You can use `subr-arity' to test for a special form.

Thank you. That's a lot better than testing membership in a list that is
bound to get out of date. Unfortunately, it isn't available for Emacs 20,
but that's OK.





reply via email to

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