~ruther/emacs.d

0e8abf8bb9cd4cd597e22a1d472f9613966bf0bb — Rutherther a month ago 8512bca
fix: do not se native comp variables if no native comp available
1 files changed, 3 insertions(+), 2 deletions(-)

M early-init.el
M early-init.el => early-init.el +3 -2
@@ 3,8 3,9 @@

(eval-and-compile (setq load-prefer-newer t))

(setq native-comp-jit-compilation t)
(setq native-comp-async-report-warnings-errors nil)
(when (native-comp-available-p)
  (setq native-comp-jit-compilation t)
  (setq native-comp-async-report-warnings-errors nil))

;; ------------------------------------------------------------------------------------------
;; Speed optimization taken from igloo.el, see https://github.com/VojtechStep/igloo.el