summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2023-02-13 10:15:33 +0100
committerAndrea Corallo <akrl@sdf.org>2023-02-13 10:15:33 +0100
commit3969a34fa1ba1647665c662ce0a594b92f3f9d87 (patch)
treec11774f1d7fb7335bbd36e9bc1b9b9b19d086f3a /lisp/startup.el
parentcc30422825a5acf460d026bfe912b327b70dedcf (diff)
downloademacs-3969a34fa1ba1647665c662ce0a594b92f3f9d87.tar.gz
Revert "Rename to inhibit-automatic-native-compilation"
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index e5ec15eebea..b0a8eed9d38 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -542,7 +542,7 @@ DIRS are relative."
(setq comp--compilable t))
(defvar native-comp-eln-load-path)
-(defvar inhibit-automatic-native-compilation)
+(defvar inhibit-native-compilation)
(defvar comp-enable-subr-trampolines)
(defvar startup--original-eln-load-path nil
@@ -580,8 +580,7 @@ It sets `command-line-processed', processes the command-line,
reads the initialization files, etc.
It is the default value of the variable `top-level'."
;; Allow disabling automatic .elc->.eln processing.
- (setq inhibit-automatic-native-compilation
- (getenv "EMACS_INHIBIT_AUTOMATIC_NATIVE_COMPILATION"))
+ (setq inhibit-native-compilation (getenv "EMACS_INHIBIT_NATIVE_COMPILATION"))
(if command-line-processed
(message internal--top-level-message)
@@ -601,7 +600,7 @@ It is the default value of the variable `top-level'."
;; in this session. This is necessary if libgccjit is not
;; available on MS-Windows, but Emacs was built with
;; native-compilation support.
- (setq inhibit-automatic-native-compilation t
+ (setq inhibit-native-compilation t
comp-enable-subr-trampolines nil))
;; Form `native-comp-eln-load-path'.