[Top][All Lists]

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

Re: Built-in Functions and Special Forms

From: Pascal Bourguignon
Subject: Re: Built-in Functions and Special Forms
Date: 27 Feb 2003 02:38:39 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 (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.

There is a fault in reality. Do not adjust your minds. -- Salman Rushdie

reply via email to

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