[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 4a3b43f: * src/lread.c (maybe_swap_for_eln): Fix eln
From: |
Andrea Corallo |
Subject: |
feature/native-comp 4a3b43f: * src/lread.c (maybe_swap_for_eln): Fix eln filename (bug#bug#47337). |
Date: |
Wed, 24 Mar 2021 07:43:24 -0400 (EDT) |
branch: feature/native-comp
commit 4a3b43f55cfa96f5dd42e360eb4577750e97dbf0
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* src/lread.c (maybe_swap_for_eln): Fix eln filename (bug#bug#47337).
---
src/lread.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/lread.c b/src/lread.c
index 5fd52fe..56717db 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1675,7 +1675,9 @@ maybe_swap_for_eln (bool no_native, Lisp_Object
*filename, int *fd)
FOR_EACH_TAIL_SAFE (eln_path_tail)
{
Lisp_Object eln_name =
- Fexpand_file_name (eln_rel_name, XCAR (eln_path_tail));
+ Fexpand_file_name (eln_rel_name,
+ Fexpand_file_name (Vcomp_native_version_dir,
+ XCAR (eln_path_tail)));
int eln_fd = emacs_open (SSDATA (ENCODE_FILE (eln_name)), O_RDONLY, 0);
if (eln_fd > 0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/native-comp 4a3b43f: * src/lread.c (maybe_swap_for_eln): Fix eln filename (bug#bug#47337).,
Andrea Corallo <=