aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias EngdegÄrd2022-03-17 11:27:59 +0100
committerMattias EngdegÄrd2022-03-17 11:27:59 +0100
commit63c1f0d58d846095eac1bde726e0c72856a9deec (patch)
treefca8e684e4fa3cb0037783abe69482b42d6ea276
parent72a313d3922d109a4351a4dec15e903b2a70d0a3 (diff)
downloademacs-63c1f0d58d846095eac1bde726e0c72856a9deec.tar.gz
emacs-63c1f0d58d846095eac1bde726e0c72856a9deec.zip
; Fix mistake in last commit (use of wrong variable)
-rw-r--r--src/sort.c2
1 files changed, 1 insertions, 1 deletions
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)
917 { 917 {
918 /* Attempt to resolve the function as far as possible ahead of time, 918 /* Attempt to resolve the function as far as possible ahead of time,
919 to avoid having to do it for each call. */ 919 to avoid having to do it for each call. */
920 Lisp_Object fun = XSYMBOL (fun)->u.s.function; 920 Lisp_Object fun = XSYMBOL (predicate)->u.s.function;
921 if (SYMBOLP (fun)) 921 if (SYMBOLP (fun))
922 /* Function was an alias; use slow-path resolution. */ 922 /* Function was an alias; use slow-path resolution. */
923 fun = indirect_function (fun); 923 fun = indirect_function (fun);