unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Joe Riel <joer@san.rr.com>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: how to print an elisp function
Date: Fri, 16 May 2014 12:18:46 +0200	[thread overview]
Message-ID: <87d2fedo1l.fsf@geodiff-mac3.ulb.ac.be> (raw)
In-Reply-To: <20140515230636.62abc236@gauss> (Joe Riel's message of "Thu, 15 May 2014 23:06:36 -0700")

Joe Riel <joer@san.rr.com> writes:

> How can I print an elisp function?
>
> (print some-func) returns an error, void-variable some-func.
> How do I tell it to print the function assigned to some-func?

Perhaps you want (print (symbol-function 'some-func))

-- 
Nico.



  reply	other threads:[~2014-05-16 10:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16  6:06 how to print an elisp function Joe Riel
2014-05-16 10:18 ` Nicolas Richard [this message]
2014-05-16 13:42   ` Joe Riel
     [not found] <mailman.1441.1400220416.1147.help-gnu-emacs@gnu.org>
2014-05-16  9:34 ` Pascal J. Bourguignon

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=87d2fedo1l.fsf@geodiff-mac3.ulb.ac.be \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joer@san.rr.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).