summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2023-02-13 10:19:31 +0100
committerAndrea Corallo <akrl@sdf.org>2023-02-13 10:19:31 +0100
commitc0681cd3477b6fce5e257ac720a32e09357ea157 (patch)
treed2acb3fe54e0bcf3e8d900a0e746ca80533e8184 /lisp/startup.el
parent3969a34fa1ba1647665c662ce0a594b92f3f9d87 (diff)
downloademacs-c0681cd3477b6fce5e257ac720a32e09357ea157.tar.gz
emacs-c0681cd3477b6fce5e257ac720a32e09357ea157.tar.bz2
emacs-c0681cd3477b6fce5e257ac720a32e09357ea157.zip
Revert "Add new variable 'inhibit-native-compilation'"
This reverts commit 5fec9182dbeffa88cef6651d8c798ef9665d6681.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index b0a8eed9d38..240cfa30098 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-native-compilation)
+(defvar native-comp-deferred-compilation)
(defvar comp-enable-subr-trampolines)
(defvar startup--original-eln-load-path nil
@@ -579,9 +579,6 @@ the updated value."
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-native-compilation (getenv "EMACS_INHIBIT_NATIVE_COMPILATION"))
-
(if command-line-processed
(message internal--top-level-message)
(setq command-line-processed t)
@@ -600,7 +597,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-native-compilation t
+ (setq native-comp-deferred-compilation nil
comp-enable-subr-trampolines nil))
;; Form `native-comp-eln-load-path'.