From ebfb0d09eaa6fa6a672b7938c8913dc3dc7078cb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 18 Nov 2024 20:54:15 +0200 Subject: [PATCH] ; Avoid assertion violations in "temacs -Q" * src/lread.c (build_load_history): Use Fequal to compare strings. (cherry picked from commit 9c484d510121e0d545f952bc016586ead61d3f10) --- src/lread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lread.c b/src/lread.c index ea0398196e3..c25ffb3c4fe 100644 --- a/src/lread.c +++ b/src/lread.c @@ -2309,7 +2309,7 @@ build_load_history (Lisp_Object filename, bool entire) if (entire || !foundit) { Lisp_Object tem = Fnreverse (Vcurrent_load_list); - eassert (EQ (filename, Fcar (tem))); + eassert (!NILP (Fequal (filename, Fcar (tem)))); Vload_history = Fcons (tem, Vload_history); /* FIXME: There should be an unbind_to right after calling us which should re-establish the previous value of Vcurrent_load_list. */ -- 2.39.5