mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-28 19:42:02 +00:00
(sort-subr): Use car-less-than-car when appropriate.
This commit is contained in:
parent
1d58e36fc2
commit
c71ff00194
@ -95,9 +95,7 @@ same as ENDRECFUN."
|
||||
'string<)))
|
||||
(sort sort-lists
|
||||
(cond ((numberp (car (car sort-lists)))
|
||||
(function
|
||||
(lambda (a b)
|
||||
(< (car a) (car b)))))
|
||||
'car-less-than-car)
|
||||
((consp (car (car sort-lists)))
|
||||
(function
|
||||
(lambda (a b)
|
||||
|
Loading…
Reference in New Issue
Block a user