diff --git a/early-init.el b/early-init.el index 07eee19..4c09dcb 100644 --- a/early-init.el +++ b/early-init.el @@ -9,6 +9,13 @@ ;; Native-Comp (setq comp-speed 2) +(setq comp-deferred-compilation-deny-list + '("\\(?:[/\\\\]\\.dir-locals\\.el$\\)" + ;; Don't native-compile *-authloads.el files as they all seem to produce + ;; errors during native-compile. + "\\(?:[^z-a]*-autoloads\\.el$\\)" + "\\(?:helm[/\\\\]helm-pkg\\.el$\\)")) + (when (boundp 'comp-eln-load-path) (let ((eln-cache-dir (expand-file-name "cache/eln-cache/" user-emacs-directory))