diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-03-16 09:10:31 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-03-16 09:12:46 +0100 |
commit | f3abb1711811f43d1504d8e48f0d27e015b46d6c (patch) | |
tree | ad831e061f4b1d11902caed5a47c98345aa113bb /lisp/emacs-lisp/comp.el | |
parent | 6810635bdd109d3df5b6b946e8c9eb11035b579c (diff) | |
download | emacs-f3abb1711811f43d1504d8e48f0d27e015b46d6c.tar.gz emacs-f3abb1711811f43d1504d8e48f0d27e015b46d6c.tar.bz2 emacs-f3abb1711811f43d1504d8e48f0d27e015b46d6c.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 5a4a2f6ef15..a3a481cd36a 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -182,6 +182,8 @@ the .eln output directory." (defvar no-native-compile nil "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: \;; Local Variables:\n;; no-native-compile: t\n;; End: ") |