From 4e7ec6ade80f5ac10a72beb6d67c3ea5fc737faa Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 25 Aug 2020 01:42:40 +0100 Subject: [PATCH] fix(native_comp): correctly set custom comp-eln-load-path --- early-init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/early-init.el b/early-init.el index 01397f2..a791288 100644 --- a/early-init.el +++ b/early-init.el @@ -13,7 +13,7 @@ (when (boundp 'comp-eln-load-path) (let ((eln-cache-dir (expand-file-name "cache/eln-cache/" user-emacs-directory)) (find-exec (executable-find "find"))) - (add-to-list 'comp-eln-load-path eln-cache-dir) + (setcar comp-eln-load-path eln-cache-dir) ;; Quitting emacs while native compilation in progress can leave zero byte ;; sized *.eln files behind. Hence delete such files during startup. (when find-exec