]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix mistake in last commit (use of wrong variable)
authorMattias Engdegård <mattiase@acm.org>
Thu, 17 Mar 2022 10:27:59 +0000 (11:27 +0100)
committerMattias Engdegård <mattiase@acm.org>
Thu, 17 Mar 2022 10:27:59 +0000 (11:27 +0100)
src/sort.c

index a2c3c4d8e5c6eb00473311672baec8d595446c8f..24469ef99dceb45bc3b31248c16b350a8007c5c8 100644 (file)
@@ -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);