From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: Re: how to print an elisp function Date: Fri, 16 May 2014 06:42:14 -0700 Message-ID: <20140516064214.25e1eff4@gauss> References: <20140515230636.62abc236@gauss> <87d2fedo1l.fsf@geodiff-mac3.ulb.ac.be> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1400247781 18509 80.91.229.3 (16 May 2014 13:43:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 13:43:01 +0000 (UTC) Cc: Help GNU Emacs To: Nicolas Richard Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 16 15:42:53 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WlIPP-0008F6-RW for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2014 15:42:47 +0200 Original-Received: from localhost ([::1]:35662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlIPM-0002AL-ET for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2014 09:42:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlIP5-00027p-L3 for help-gnu-emacs@gnu.org; Fri, 16 May 2014 09:42:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlIOz-0000ie-TU for help-gnu-emacs@gnu.org; Fri, 16 May 2014 09:42:27 -0400 Original-Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:45754 helo=cdptpa-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlIOz-0000iG-OO for help-gnu-emacs@gnu.org; Fri, 16 May 2014 09:42:21 -0400 Original-Received: from [75.80.177.38] ([75.80.177.38:60028] helo=gauss) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id EB/F0-14070-CB516735; Fri, 16 May 2014 13:42:20 +0000 In-Reply-To: <87d2fedo1l.fsf@geodiff-mac3.ulb.ac.be> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-Received-From: 107.14.166.228 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97701 Archived-At: On Fri, 16 May 2014 12:18:46 +0200 Nicolas Richard wrote: > Joe Riel 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)) > Yes, thanks. -- Joe Riel