diff src/symbols.c @ 5351:b5561bfd5061

Supply check_string_lessp_nokey explicitly to list_sort(), #'apropos-internal 2011-02-06 Aidan Kehoe <kehoea@parhasard.net> * symbols.c (Fapropos_internal): Supply check_string_lessp_nokey explicitly as the CHECK_MERGE argument to list_sort(), NULL no longer works. Thank you Mats Lidell in IRC!
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 06 Feb 2011 23:46:17 +0000
parents 8608eadee6ba
children 0af042a0c116
line wrap: on
line diff
--- a/src/symbols.c	Sat Feb 05 12:04:34 2011 +0000
+++ b/src/symbols.c	Sun Feb 06 23:46:17 2011 +0000
@@ -508,8 +508,8 @@
   closure.accumulation = Qnil;
   GCPRO1 (closure.accumulation);
   map_obarray (Vobarray, apropos_mapper, &closure);
-  closure.accumulation = list_sort (closure.accumulation, NULL, Qstring_lessp,
-                                    Qidentity);
+  closure.accumulation = list_sort (closure.accumulation,
+				    check_string_lessp_nokey, Qnil, Qnil);
   UNGCPRO;
   return closure.accumulation;
 }