From: Mattias EngdegÄrd Date: Thu, 17 Mar 2022 10:27:59 +0000 (+0100) Subject: ; Fix mistake in last commit (use of wrong variable) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=63c1f0d58d846095eac1bde726e0c72856a9deec;p=emacs.git ; Fix mistake in last commit (use of wrong variable) --- 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);