]> git.eshelyaron.com Git - emacs.git/commit
Implement `no-native-compile' (bug#46983)
authorAndrea Corallo <akrl@sdf.org>
Fri, 12 Mar 2021 09:24:29 +0000 (10:24 +0100)
committerAndrea Corallo <akrl@sdf.org>
Fri, 12 Mar 2021 12:11:45 +0000 (13:11 +0100)
commitd9cd55a4f1c3f391b996dfbe77ed24306b37ac9f
tree916eb99149e57b84baa3d2f58e503308ecdd0e0f
parent0144764d1dde8a2f1d413d042d46cea3e10a7d0a
Implement `no-native-compile' (bug#46983)

* lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): Capture
`no-native-compile'.
* lisp/emacs-lisp/comp.el (no-native-compile): Define new
variable.
(comp-spill-lap-function): Throw when `no-native-compile' was
captured non-nil.
(comp--native-compile): Catch `no-native-compile' if necessary and
return nil in case.
lisp/emacs-lisp/bytecomp.el
lisp/emacs-lisp/comp.el