]> git.eshelyaron.com Git - emacs.git/commit
Fix `emacs-lisp-native-compile-and-load' for C-h f (bug#58314)
authorAndrea Corallo <akrl@sdf.org>
Tue, 6 Jun 2023 09:27:13 +0000 (11:27 +0200)
committerAndrea Corallo <akrl@sdf.org>
Tue, 6 Jun 2023 10:21:43 +0000 (12:21 +0200)
commitbcc222251e1a750a11e365f2faa641cc56c1169d
tree9155784871490afc9855808c50115555d199c28b
parent07c8211ca3075d57dc669946fc4670bb94b79983
Fix `emacs-lisp-native-compile-and-load' for C-h f (bug#58314)

* lisp/emacs-lisp/comp.el (comp-write-bytecode-file): New function
spilling code from `batch-byte+native-compile'.
(batch-byte+native-compile): Make use of.
* lisp/progmodes/elisp-mode.el
(emacs-lisp-native-compile-and-load): Produce the elc file and ask
to have it loaded.
lisp/emacs-lisp/comp.el
lisp/progmodes/elisp-mode.el