]> git.eshelyaron.com Git - emacs.git/commit
Allow for native compiling .el.gz files
authorAndrea Corallo <akrl@sdf.org>
Sun, 16 Aug 2020 12:33:25 +0000 (14:33 +0200)
committerAndrea Corallo <akrl@sdf.org>
Mon, 17 Aug 2020 16:04:23 +0000 (18:04 +0200)
commitda54406077c5facd7187aa17c9b4f5f4ddf0e233
treea80e0d6fa5f327cb6f61afaa38137d52e4e059a4
parent171db3110159d95803dea13c4ee7bca4a795747b
Allow for native compiling .el.gz files

This is needed for installed instances compiled with NATIVE_FAST_BOOT

* src/comp.c (maybe_defer_native_compilation): Search for .el.gz
too as a source if the .el is not found.
(Fcomp_el_to_eln_filename): Remove the .gz in case to
generate the hash.

* lisp/emacs-lisp/comp.el (comp-valid-source-re): New defconst.
(comp-run-async-workers, native-compile-async): Make use of
`comp-valid-source-re'.
lisp/emacs-lisp/comp.el
src/comp.c