Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
5350:94bbd4792049 | 5351:b5561bfd5061 |
---|---|
506 closure.regexp = regexp; | 506 closure.regexp = regexp; |
507 closure.predicate = predicate; | 507 closure.predicate = predicate; |
508 closure.accumulation = Qnil; | 508 closure.accumulation = Qnil; |
509 GCPRO1 (closure.accumulation); | 509 GCPRO1 (closure.accumulation); |
510 map_obarray (Vobarray, apropos_mapper, &closure); | 510 map_obarray (Vobarray, apropos_mapper, &closure); |
511 closure.accumulation = list_sort (closure.accumulation, NULL, Qstring_lessp, | 511 closure.accumulation = list_sort (closure.accumulation, |
512 Qidentity); | 512 check_string_lessp_nokey, Qnil, Qnil); |
513 UNGCPRO; | 513 UNGCPRO; |
514 return closure.accumulation; | 514 return closure.accumulation; |
515 } | 515 } |
516 | 516 |
517 | 517 |