From 62d2f275101ef7b11d2e23716713a43759c74c11 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 8 May 2021 18:56:25 -0400 Subject: [PATCH] Fix references to comp-eln-load-path --- core/cli/packages.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/cli/packages.el b/core/cli/packages.el index 38e8336d1..a01cf01ce 100644 --- a/core/cli/packages.el +++ b/core/cli/packages.el @@ -144,7 +144,7 @@ list remains lean." (defvar doom--eln-output-expected nil) -(defvar doom--eln-output-path (car (bound-and-true-p comp-eln-load-path))) +(defvar doom--eln-output-path (car (bound-and-true-p native-comp-eln-load-path))) (defun doom--eln-file-name (file) "Return the short .eln file name corresponding to `file'." @@ -161,12 +161,12 @@ list remains lean." (concat doom--eln-output-path eln-name ".error")) (defun doom--find-eln-file (eln-name) - "Find `eln-name' on the `comp-eln-load-path'." + "Find `eln-name' on the `native-comp-eln-load-path'." (cl-some (lambda (eln-path) (let ((file (concat eln-path eln-name))) (when (file-exists-p file) file))) - comp-eln-load-path)) + native-comp-eln-load-path)) (defun doom--elc-file-outdated-p (file) "Check whether the corresponding .elc for `file' is outdated."