[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Byte compilation without writing the .elc file
From: |
Lars Ingebrigtsen |
Subject: |
Re: Byte compilation without writing the .elc file |
Date: |
Sun, 23 Jun 2019 15:38:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Clément Pit-Claudel <address@hidden> writes:
> 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.
Yeah, I think that makes sense. `byte-compile-file' currently sets up a
whole lot of stuff and then calls `byte-compile-from-buffer'. The
modification would be to move all the setup code to the new
`byte-compile-buffer' function, and then call that, I think...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no