fix(native-comp): set old/new config values to ensure they work

This commit is contained in:
2021-05-10 11:05:30 +01:00
parent 0ef8ea787f
commit 23f2da6210

View File

@@ -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