]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/bytecomp.el: Allow a nil destination file
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 13 Dec 2020 00:19:03 +0000 (19:19 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 13 Dec 2020 00:19:03 +0000 (19:19 -0500)
commit185b0820b83b2021b4223c443effdd35be0adc2a
treee9850e4dd82a507b9faed96a4c6e0c96df39e155
parentc6f21e2420202a19a590c66ecc09bf8bb277778d
* lisp/emacs-lisp/bytecomp.el: Allow a nil destination file

(byte-compile--default-dest-file): New function, extracted from
byte-compile-dest-file.
(byte-compile-dest-file): Use it.
(byte-compile-dest-file-function): Give it a non-nil default value.
(byte-recompile-file, byte-compile-file): Handle a nil return value
from `byte-compile-dest-file`.

* lisp/progmodes/elisp-mode.el (elisp-flymake--batch-compile-for-flymake):
Tell the compiler not to write the result, instead of writing it to
a dummy temp file.
lisp/emacs-lisp/bytecomp.el
lisp/progmodes/elisp-mode.el