changeset 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 94bbd4792049
children cc7d0e19173c
files src/ChangeLog src/symbols.c
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Feb 05 12:04:34 2011 +0000
+++ b/src/ChangeLog	Sun Feb 06 23:46:17 2011 +0000
@@ -1,3 +1,10 @@
+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!
+
 2011-02-05  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* fns.c:
--- 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;
 }