From 40c0864f4be4ba5d432e4f01ed365abc97a6b62a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 7 Oct 2021 20:55:05 +0200 Subject: [PATCH] Update Fstring_match calls in comp.c * src/comp.c (Fcomp_el_to_eln_rel_filename, file_in_eln_sys_dir): Update Fstring_match calls. --- src/comp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/comp.c b/src/comp.c index bc1adcf4e2f..5b947fc99b6 100644 --- a/src/comp.c +++ b/src/comp.c @@ -4123,7 +4123,7 @@ one for the file name and another for its contents, followed by .eln. */) FOR_EACH_TAIL (lds_re_tail) { Lisp_Object match_idx = - Fstring_match (XCAR (lds_re_tail), filename, Qnil); + Fstring_match (XCAR (lds_re_tail), filename, Qnil, Qnil); if (EQ (match_idx, make_fixnum (0))) { filename = @@ -5260,7 +5260,8 @@ file_in_eln_sys_dir (Lisp_Object filename) eln_sys_dir = XCAR (tmp); return !NILP (Fstring_match (Fregexp_quote (Fexpand_file_name (eln_sys_dir, Qnil)), - Fexpand_file_name (filename, Qnil), Qnil)); + Fexpand_file_name (filename, Qnil), + Qnil, Qnil)); } /* Load related routines. */ -- 2.39.2