mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
Fix `no-byte-compile' native compilation interaction (bug#47169)
* lisp/emacs-lisp/comp.el (comp-spill-lap-function): Throw no-native-compile when `byte-native-qualities' are null. * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): No need to consider `no-byte-compile'.
This commit is contained in:
parent
f3abb17118
commit
3e133cc050
2 changed files with 3 additions and 3 deletions
|
|
@ -1315,7 +1315,8 @@ clashes."
|
|||
(cl-defmethod comp-spill-lap-function ((filename string))
|
||||
"Byte-compile FILENAME, spilling data from the byte compiler."
|
||||
(byte-compile-file filename)
|
||||
(when (alist-get 'no-native-compile byte-native-qualities)
|
||||
(when (or (null byte-native-qualities)
|
||||
(alist-get 'no-native-compile byte-native-qualities))
|
||||
(throw 'no-native-compile nil))
|
||||
(unless byte-to-native-top-level-forms
|
||||
(signal 'native-compiler-error-empty-byte filename))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue