Have no-byte-compile' implies also
no-native-compile'.
* lisp/emacs-lisp/comp.el (no-native-compile): Update doctring. * lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer): when `no-byte-compile' is set to non-nil it overrides this.
This commit is contained in:
parent
6810635bdd
commit
f3abb17118
2 changed files with 4 additions and 1 deletions
|
@ -2277,7 +2277,8 @@ With argument ARG, insert value in current buffer after the form."
|
||||||
(push `(comp-native-driver-options . ,comp-native-driver-options)
|
(push `(comp-native-driver-options . ,comp-native-driver-options)
|
||||||
byte-native-qualities)
|
byte-native-qualities)
|
||||||
(defvar no-native-compile)
|
(defvar no-native-compile)
|
||||||
(push `(no-native-compile . ,no-native-compile)
|
;; `no-byte-compile' implies also `no-native-compile'.
|
||||||
|
(push `(no-native-compile . ,(or no-byte-compile no-native-compile))
|
||||||
byte-native-qualities))
|
byte-native-qualities))
|
||||||
|
|
||||||
;; Compile the forms from the input buffer.
|
;; Compile the forms from the input buffer.
|
||||||
|
|
|
@ -182,6 +182,8 @@ the .eln output directory."
|
||||||
|
|
||||||
(defvar no-native-compile nil
|
(defvar no-native-compile nil
|
||||||
"Non-nil to prevent native-compiling of Emacs Lisp code.
|
"Non-nil to prevent native-compiling of Emacs Lisp code.
|
||||||
|
Note that when `no-byte-compile' is set to non-nil it overrides the value of
|
||||||
|
`no-native-compile'.
|
||||||
This is normally set in local file variables at the end of the elisp file:
|
This is normally set in local file variables at the end of the elisp file:
|
||||||
|
|
||||||
\;; Local Variables:\n;; no-native-compile: t\n;; End: ")
|
\;; Local Variables:\n;; no-native-compile: t\n;; End: ")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue