help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to print an elisp function


From: Nicolas Richard
Subject: Re: how to print an elisp function
Date: Fri, 16 May 2014 12:18:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux)

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 via email to

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