unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pascal Bourguignon <pjb@informatimago.com>
Subject: Re: Built-in Functions and Special Forms
Date: 27 Feb 2003 02:38:39 +0100	[thread overview]
Message-ID: <8765r6cxk0.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: de3ad953.0302261250.5fbca113@posting.google.com

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.


-- 
__Pascal_Bourguignon__                   http://www.informatimago.com/
----------------------------------------------------------------------
There is a fault in reality. Do not adjust your minds. -- Salman Rushdie

  parent reply	other threads:[~2003-02-27  1:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 20:50 Built-in Functions and Special Forms Artist
2003-02-26 21:08 ` Barry Margolin
2003-02-27  0:02   ` Unknown
2003-02-27  1:38 ` Pascal Bourguignon [this message]
2003-02-27  3:42   ` Greg Hill
2003-02-27  7:31   ` Miles Bader
  -- strict thread matches above, loose matches on Subject: below --
2003-02-27  4:02 Greg Hill
     [not found] <mailman.2511.1046318512.21513.help-gnu-emacs@gnu.org>
2003-02-28 18:51 ` Artist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8765r6cxk0.fsf@thalassa.informatimago.com \
    --to=pjb@informatimago.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).