[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 efaa0ebca9: * lisp/startup.el (normal-top-level): Small code mo
From: |
Andrea Corallo |
Subject: |
emacs-28 efaa0ebca9: * lisp/startup.el (normal-top-level): Small code move, improve 202d3be873. |
Date: |
Fri, 11 Feb 2022 09:22:42 -0500 (EST) |
branch: emacs-28
commit efaa0ebca9ec445329643fea2f9fe883d7ccdc3a
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* lisp/startup.el (normal-top-level): Small code move, improve 202d3be873.
---
lisp/startup.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/lisp/startup.el b/lisp/startup.el
index d369f3ef84..9ebd4c1a70 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -540,15 +540,15 @@ It is the default value of the variable `top-level'."
(setq user-emacs-directory
(startup--xdg-or-homedot startup--xdg-config-home-emacs nil))
- (unless (native-comp-available-p)
- ;; Disable deferred async compilation and trampoline synthesis
- ;; in this session. This is necessary if libgccjit is not
- ;; available on MS-Windows, but Emacs was built with
- ;; native-compilation support.
- (setq native-comp-deferred-compilation nil
- comp-enable-subr-trampolines nil))
-
(when (featurep 'native-compile)
+ (unless (native-comp-available-p)
+ ;; Disable deferred async compilation and trampoline synthesis
+ ;; in this session. This is necessary if libgccjit is not
+ ;; available on MS-Windows, but Emacs was built with
+ ;; native-compilation support.
+ (setq native-comp-deferred-compilation nil
+ comp-enable-subr-trampolines nil))
+
;; Form `native-comp-eln-load-path'.
(let ((path-env (getenv "EMACSNATIVELOADPATH")))
(when path-env
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 efaa0ebca9: * lisp/startup.el (normal-top-level): Small code move, improve 202d3be873.,
Andrea Corallo <=