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

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

Re: Functions using limited set of internals


From: David Kastrup
Subject: Re: Functions using limited set of internals
Date: 27 Feb 2003 17:03:21 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

googleartist@yahoo.com (Artist) writes:

> googleartist@yahoo.com (Artist) writes:
> 
> > Hi,
> >  I have been using emacs now for over an year.
> >  and now I like to know how I can do some work with lisp.
> >  
> >  How I can find the built-in functions for lisp:
> 
> (let ((internals ()))
>   (mapatoms (lambda (sym)
>               (when (and (functionp sym) (subrp (symbol-function
> sym)))
>                 (push sym internals))))
>   (insert (format "%S\n" internals)))
> 
> I've not found any predicate to distinguish between built-in functions
> and special forms.

subr-arity

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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