all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: Functions using limited set of internals
Date: 27 Feb 2003 17:03:21 +0100	[thread overview]
Message-ID: <x5y941g186.fsf@lola.goethe.zz> (raw)
In-Reply-To: de3ad953.0302270755.19a53697@posting.google.com

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	other threads:[~2003-02-27 16:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 15:55 Functions using limited set of internals Artist
2003-02-27 16:03 ` David Kastrup [this message]
2003-02-28  1:43   ` 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

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

  git send-email \
    --in-reply-to=x5y941g186.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.