[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 39bc9bc 4/4: * src/comp.c (fixup_eln_load_path): Fix
From: |
Andrea Corallo |
Subject: |
feature/native-comp 39bc9bc 4/4: * src/comp.c (fixup_eln_load_path): Fix parameter name. |
Date: |
Sun, 4 Apr 2021 16:52:40 -0400 (EDT) |
branch: feature/native-comp
commit 39bc9bc77066c0c40d2e5fd0769ce3701055a10b
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* src/comp.c (fixup_eln_load_path): Fix parameter name.
---
src/comp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/comp.c b/src/comp.c
index c167aaa..6817fe2 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4750,7 +4750,7 @@ maybe_defer_native_compilation (Lisp_Object function_name,
/* Fixup the system eln-cache dir. This is the last entry in
`comp-eln-load-path'. */
void
-fixup_eln_load_path (Lisp_Object directory)
+fixup_eln_load_path (Lisp_Object eln_filename)
{
Lisp_Object last_cell = Qnil;
Lisp_Object tmp = Vcomp_eln_load_path;
@@ -4760,7 +4760,7 @@ fixup_eln_load_path (Lisp_Object directory)
Lisp_Object eln_cache_sys =
Ffile_name_directory (concat2 (Vinvocation_directory,
- directory));
+ eln_filename));
bool preloaded =
!NILP (Fequal (Fsubstring (eln_cache_sys, make_fixnum (-10),
make_fixnum (-1)),