From 6e42c3991097479f412e75bce08d0cbdd241a165 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 24 Sep 2021 16:19:25 -0700 Subject: emacs: set the path where to store compiled files Emacs 28 has support for native compilation which speeds up a number of packages. This change set the path where we want to store the files. --- emacs/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index 628ffec..bbbb170 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -10,6 +10,9 @@ (require 'fcuny-vars) +;; where to store compiled files +(add-to-list 'native-comp-eln-load-path (expand-file-name "eln-cache" fcuny/path-emacs-var)) + ;; where to store the packages (setq package-user-dir fcuny/path-emacs-elpa) -- cgit 1.4.1