From: Andrew Whatson <whatson@gmail.com>
To: 42909@debbugs.gnu.org
Cc: Andrew Whatson <whatson@gmail.com>
Subject: bug#42909: feature/native-comp; comp.el: Pass comp-eln-load-path to child
Date: Tue, 18 Aug 2020 12:19:21 +1000 [thread overview]
Message-ID: <20200818021920.386868-1-whatson@gmail.com> (raw)
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
next reply other threads:[~2020-08-18 2:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-18 2:19 Andrew Whatson [this message]
2020-08-18 7:36 ` bug#42909: feature/native-comp; comp.el: Pass comp-eln-load-path to child Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-18 9:16 ` Andrew Whatson
2020-08-18 9:44 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200818021920.386868-1-whatson@gmail.com \
--to=whatson@gmail.com \
--cc=42909@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).