[Top][All Lists]

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

Re: Byte compilation without writing the .elc file

From: Clément Pit-Claudel
Subject: Re: Byte compilation without writing the .elc file
Date: Sun, 23 Jun 2019 09:14:22 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1

On 2019-06-23 07:53, Lars Ingebrigtsen wrote:
> So I think it would be a good idea if Emacs had a command called, say,
> `byte-compile-buffer' that does the same thing as `byte-compile-file',
> but for the current buffer and without outputting anything.  Does that
> sound OK?

I think it would be great.  In Flycheck we have to save a copy of the buffer, 
and tweak byte-compile-dest-file-function to create a temporary output file, 
too.  If both of these could go it would be awesome.

I think you could even make byte-compile-buffer return a other buffer with the 
ELC contents, and then byte-compile-file could be trivially implemented in 
terms of that.

reply via email to

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