From: Lennart Borgman <lennart.borgman@gmail.com>
To: Kevin Rodgers <kevin.d.rodgers@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Does not byte-compile return the compiled function in Emacs 24?
Date: Wed, 7 Dec 2011 05:38:13 +0100 [thread overview]
Message-ID: <CANbX3644joP=1Npcm4ZMbUvBQnGHfeo6ESe=4XXpGp5Mjdrdjw@mail.gmail.com> (raw)
In-Reply-To: <jbmpp9$h2q$2@dough.gmane.org>
On Wed, Dec 7, 2011 at 05:24, Kevin Rodgers <kevin.d.rodgers@gmail.com> wrote:
> On 12/6/11 5:51 PM, Juanma Barranquero wrote:
>>>
>>> It used to do that before.
>>
>>
>> It wasn't documented, was it?
>
>
> It is the obvious, sensible value to return.
>
>
>>> Is there any variable holding the newly
>>> byte-compiled function?
>>
>>
>> A function, as before:
>>
>> (symbol-function 'my-func)
>
>
> As Lennart points out, that does not cover lambda forms.
I agree with Kevin, of course.
I just tried adding a name:
(byte-compile '(defun my-name () ...))
To my surprise the symbol my-name is not a function after this.
next prev parent reply other threads:[~2011-12-07 4:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-07 0:38 Does not byte-compile return the compiled function in Emacs 24? Lennart Borgman
2011-12-07 0:51 ` Juanma Barranquero
2011-12-07 4:24 ` Kevin Rodgers
2011-12-07 4:38 ` Lennart Borgman [this message]
2011-12-07 4:53 ` Kevin Rodgers
2011-12-07 1:36 ` Stefan Monnier
2011-12-07 1:54 ` Lennart Borgman
2011-12-07 9:12 ` Andreas Schwab
2011-12-07 15:12 ` Stefan Monnier
2011-12-07 16:34 ` Lennart Borgman
2011-12-09 2:12 ` Lennart Borgman
2011-12-09 2:57 ` Stefan Monnier
2011-12-07 22:34 ` Johan Bockgård
2011-12-08 14:56 ` Stefan Monnier
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='CANbX3644joP=1Npcm4ZMbUvBQnGHfeo6ESe=4XXpGp5Mjdrdjw@mail.gmail.com' \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=kevin.d.rodgers@gmail.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).