Subject: bug#55861: [PATCH] Update native-comp error message to reflect variable change

From: Fejfighter <[email-masked]>
Date: Thu, 9 Jun 2022 16:06:26 +1000

On Thu, Jun 9, 2022 at 3:32 PM Eli Zaretskii <[email-masked]> wrote:

> > From: Fejfighter <[email-masked]>
> > Date: Thu, 9 Jun 2022 10:17:48 +1000
> >
> > Updates a Native-compilation error message to make debugging user init
> > files much easier.
> >
> > The referenced variable got renamed sometime during integration, this
> just
> > got missed somehow.
>
> ENOPATCH
>
From 940357a6ec07527609784d7d5515bfa9b45096d0 Mon Sep 17 00:00:00 2001
From: Jeff Walsh <[email-masked]>
Date: Thu, 9 Jun 2022 10:02:01 +1000
Subject: [PATCH] Update error message to reflect variable rename

* src/comp.c (Fcomp_el_to_eln_filename): update mesage
---
 src/comp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/comp.c b/src/comp.c
index 97bc6a5f9d..05d9fed448 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4466,7 +4466,7 @@ DEFUN ("comp-el-to-eln-filename", Fcomp_el_to_eln_filename,
 	}
       if (NILP (base_dir))
 	error ("Cannot find suitable directory for output in "
-	       "`comp-native-load-path'.");
+	       "`native-comp-eln-load-path'.");
     }
 
   if (!file_name_absolute_p (SSDATA (base_dir)))
-- 
2.36.1