emacs-devel
[Top][All Lists]
Advanced

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

Re: Does not byte-compile return the compiled function in Emacs 24?


From: Lennart Borgman
Subject: Re: Does not byte-compile return the compiled function in Emacs 24?
Date: Wed, 7 Dec 2011 02:54:23 +0100

On Wed, Dec 7, 2011 at 02:36, Stefan Monnier <address@hidden> wrote:
>> It used to do that before. Is there any variable holding the newly
>> byte-compiled function?
>
> Don't know.  `byte-compile' does various things in various circumstances
> (it's pretty DWIMish), so without more details I can't help you.

In mumamo.el I am building functions for fontification. I compile them
like this:

        (setq byte-compiled-fun (let ((major-syntax-table))
                                  (byte-compile fetch-func-definition)))

Previously it returned the byte-compiled function, but now it seems to
return t. (Or, at least it did not when I tested.)

I am using an anonymous function, but I think I can switch to a named
temporary function instead. I will try that.



reply via email to

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