[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42909: feature/native-comp; comp.el: Pass comp-eln-load-path to chil
From: |
Andrew Whatson |
Subject: |
bug#42909: feature/native-comp; comp.el: Pass comp-eln-load-path to child |
Date: |
Tue, 18 Aug 2020 12:19:21 +1000 |
The `comp-eln-load-path' must be passed to the child to ensure that .eln
files are written to the correct location.
Without this, when a custom `comp-eln-load-path' is used, Emacs will
crash with "Native elisp load failed: file does not exist".
---
lisp/emacs-lisp/comp.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 85b5562f28..3176351b37 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -2580,6 +2580,7 @@ comp-run-async-workers
(setf comp-speed ,comp-speed
comp-debug ,comp-debug
comp-verbose ,comp-verbose
+ comp-eln-load-path ',comp-eln-load-path
load-path ',load-path)
,comp-async-env-modifier-form
(message "Compiling %s..." ,source-file)
--
2.28.0
- bug#42909: feature/native-comp; comp.el: Pass comp-eln-load-path to child,
Andrew Whatson <=