mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(early-init): set native compile pattern in early-init.el
This commit is contained in:
@@ -16,9 +16,13 @@
|
||||
|
||||
;; Prevent native-compiling .dir-locals.el files.
|
||||
(let ((deny-list '("\\(?:[/\\\\]\\.dir-locals\\.el$\\)")))
|
||||
(if (boundp 'native-comp-deferred-compilation-deny-list)
|
||||
(setq native-comp-deferred-compilation-deny-list deny-list)
|
||||
(setq comp-deferred-compilation-deny-list deny-list)))
|
||||
(cond
|
||||
((boundp 'native-comp-jit-compilation-deny-list)
|
||||
(setq native-comp-jit-compilation-deny-list deny-list))
|
||||
((boundp 'native-comp-deferred-compilation-deny-list)
|
||||
(setq native-comp-deferred-compilation-deny-list deny-list))
|
||||
((boundp 'comp-deferred-compilation-deny-list)
|
||||
(setq comp-deferred-compilation-deny-list deny-list))))
|
||||
|
||||
(when (or (boundp 'comp-eln-load-path) (boundp 'native-comp-eln-load-path))
|
||||
(let ((eln-cache-dir (expand-file-name "cache/eln-cache/"
|
||||
|
||||
Reference in New Issue
Block a user