From e5c025158ef6e383aa892ef88e63a2a32de3d7fb Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 18 Oct 2022 12:08:21 -0500 Subject: Add a bunch of other stuff or whatever --- early-init.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'early-init.el') 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." (push (locate-user-emacs-file "lisp") load-path) (require 'acdw) -(+define-dir .etc (locate-user-emacs-file ".etc") +(+define-dir .etc (locate-user-emacs-file "etc") "Directory for all of Emacs's various files. See `no-littering' for examples.") @@ -81,13 +81,13 @@ See `no-littering' for examples.") (yoke compat "https://git.sr.ht/~pkal/compat") (yoke no-littering "https://github.com/emacscollective/no-littering" - (require 'no-littering) (setq no-littering-etc-directory .etc no-littering-var-directory .etc custom-file (.etc "custom.el")) + (require 'no-littering) + (when (boundp 'native-comp-eln-load-path) + (setcar native-comp-eln-load-path (expand-file-name (.etc "eln-cache" t)))) (when (boundp 'comp-eln-load-path) (setcar comp-eln-load-path (expand-file-name (.etc "eln-cache" t)))) (when (fboundp 'startup-redirect-eln-cache) - (startup-redirect-eln-cache - (convert-standard-filename - (.etc "eln-cache/"))))) + (startup-redirect-eln-cache (convert-standard-filename (.etc "eln-cache/"))))) -- cgit 1.4.1-21-gabe81