fix(native-comp): reduce warning by ignoring specific files which always fail to native-compile

This commit is contained in:
2021-02-15 23:45:05 +00:00
parent a98f919880
commit d0a1927081

View File

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