aboutsummaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/init.el b/init.el
index 4a9d8bf..68cbc96 100644
--- a/init.el
+++ b/init.el
@@ -10,8 +10,6 @@
;;; Time Mark
(setq emacs-load-start-time (current-time))
-(setq package-check-signature 'allow-unsigned)
-
;;; Fix TLS emacs 26.x
(if (version<= emacs-version "26.2")
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
@@ -55,6 +53,12 @@
(setq user-emacs-directory default-directory))
(push (concat user-emacs-directory "modules") load-path)
+;;; Native compilation (Emacs 28+)
+(when (fboundp 'native-comp-available-p)
+ (setq native-comp-async-report-warnings-errors nil
+ native-comp-deferred-compilation t
+ native-comp-jit-compilation t))
+
;;;------------------------------
;;; Features
;;;------------------------------