summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2025-03-02 00:44:15 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2025-03-02 00:44:15 +0000
commitf3318d70afc3b387301df504d8a9c7e733da37bc (patch)
tree2cd27aeb3539754c500208efae1d2311af47e5b7
parent06fb2ecf6b7eb258339dce6087563ff31d22e8d7 (diff)
emacs: Put native Emacs Lisp in the cache
-rw-r--r--emacs/early-init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index 745c13e..e21a5a2 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -31,6 +31,9 @@ directories."
package-user-dir (my/data-file-name "elpa")
treesit-extra-load-path `(,(my/data-file-name "tree-sitter")))
+(when (boundp 'native-comp-eln-load-path)
+ (setcar native-comp-eln-load-path (my/cache-file-name "eln-cache")))
+
;; Further Early Customization