mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 15:00:34 -08:00
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.
This commit is contained in:
parent
0144764d1d
commit
d9cd55a4f1
2 changed files with 57 additions and 43 deletions
|
|
@ -2275,6 +2275,9 @@ With argument ARG, insert value in current buffer after the form."
|
|||
(push `(comp-debug . ,comp-debug) byte-native-qualities)
|
||||
(defvar comp-native-driver-options)
|
||||
(push `(comp-native-driver-options . ,comp-native-driver-options)
|
||||
byte-native-qualities)
|
||||
(defvar no-native-compile)
|
||||
(push `(no-native-compile . ,no-native-compile)
|
||||
byte-native-qualities))
|
||||
|
||||
;; Compile the forms from the input buffer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue