diff options
Diffstat (limited to 'early-init.el')
-rw-r--r-- | early-init.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/early-init.el b/early-init.el index 340cbf7..bc4ccdd 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -64,7 +64,7 @@ restore that." | |||
64 | (push (locate-user-emacs-file "lisp") load-path) | 64 | (push (locate-user-emacs-file "lisp") load-path) |
65 | (require 'acdw) | 65 | (require 'acdw) |
66 | 66 | ||
67 | (+define-dir .etc (locate-user-emacs-file ".etc") | 67 | (+define-dir .etc (locate-user-emacs-file "etc") |
68 | "Directory for all of Emacs's various files. | 68 | "Directory for all of Emacs's various files. |
69 | See `no-littering' for examples.") | 69 | See `no-littering' for examples.") |
70 | 70 | ||
@@ -81,13 +81,13 @@ See `no-littering' for examples.") | |||
81 | (yoke compat "https://git.sr.ht/~pkal/compat") | 81 | (yoke compat "https://git.sr.ht/~pkal/compat") |
82 | 82 | ||
83 | (yoke no-littering "https://github.com/emacscollective/no-littering" | 83 | (yoke no-littering "https://github.com/emacscollective/no-littering" |
84 | (require 'no-littering) | ||
85 | (setq no-littering-etc-directory .etc | 84 | (setq no-littering-etc-directory .etc |
86 | no-littering-var-directory .etc | 85 | no-littering-var-directory .etc |
87 | custom-file (.etc "custom.el")) | 86 | custom-file (.etc "custom.el")) |
87 | (require 'no-littering) | ||
88 | (when (boundp 'native-comp-eln-load-path) | ||
89 | (setcar native-comp-eln-load-path (expand-file-name (.etc "eln-cache" t)))) | ||
88 | (when (boundp 'comp-eln-load-path) | 90 | (when (boundp 'comp-eln-load-path) |
89 | (setcar comp-eln-load-path (expand-file-name (.etc "eln-cache" t)))) | 91 | (setcar comp-eln-load-path (expand-file-name (.etc "eln-cache" t)))) |
90 | (when (fboundp 'startup-redirect-eln-cache) | 92 | (when (fboundp 'startup-redirect-eln-cache) |
91 | (startup-redirect-eln-cache | 93 | (startup-redirect-eln-cache (convert-standard-filename (.etc "eln-cache/"))))) |
92 | (convert-standard-filename | ||
93 | (.etc "eln-cache/"))))) | ||