diff options
author | Franck Cuny <franck@fcuny.net> | 2021-09-24 16:19:25 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-09-24 16:19:25 -0700 |
commit | 6e42c3991097479f412e75bce08d0cbdd241a165 (patch) | |
tree | 2efae7362b9667cfb456ebfbc40e61e4c1806264 /emacs | |
parent | emacs: fix the configuration for notmuch (diff) | |
download | emacs.d-6e42c3991097479f412e75bce08d0cbdd241a165.tar.gz |
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.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
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) |