From 63c1f0d58d846095eac1bde726e0c72856a9deec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 17 Mar 2022 11:27:59 +0100 Subject: [PATCH] ; Fix mistake in last commit (use of wrong variable) --- src/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sort.c b/src/sort.c index a2c3c4d8e5c..24469ef99dc 100644 --- a/src/sort.c +++ b/src/sort.c @@ -917,7 +917,7 @@ tim_sort (Lisp_Object predicate, Lisp_Object *seq, const ptrdiff_t length) { /* Attempt to resolve the function as far as possible ahead of time, to avoid having to do it for each call. */ - Lisp_Object fun = XSYMBOL (fun)->u.s.function; + Lisp_Object fun = XSYMBOL (predicate)->u.s.function; if (SYMBOLP (fun)) /* Function was an alias; use slow-path resolution. */ fun = indirect_function (fun); -- 2.39.5