From 23f2da6210e1ceb4459fb5c616572a049009bfe3 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 10 May 2021 11:05:30 +0100 Subject: [PATCH] fix(native-comp): set old/new config values to ensure they work --- early-init.el | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/early-init.el b/early-init.el index 4e178d3..e0396fe 100644 --- a/early-init.el +++ b/early-init.el @@ -7,17 +7,12 @@ ;;; Code: ;; Native-Comp -(if (boundp 'native-comp-speed) - (setq native-comp-speed 2) - (setq comp-speed 2)) - -(if (boundp 'native-comp-async-report-warnings-errors) - (setq native-comp-async-report-warnings-errors nil) - (setq comp-async-report-warnings-errors 2)) - -(if (boundp 'native-comp-async-query-on-exit) - (setq native-comp-async-query-on-exit t) - (setq comp-async-query-on-exit t)) +(setq native-comp-speed 2 + comp-speed 2) +(setq native-comp-async-report-warnings-errors nil + comp-async-report-warnings-errors nil) +(setq native-comp-async-query-on-exit t + comp-async-query-on-exit t) (let ((deny-list '("\\(?:[/\\\\]\\.dir-locals\\.el$\\)" ;; Don't native-compile *-authloads.el and *-pkg.el files as they