[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13056: 24.2.50; sort-subr doc-string and manual
From: |
Chong Yidong |
Subject: |
bug#13056: 24.2.50; sort-subr doc-string and manual |
Date: |
Fri, 21 Dec 2012 11:18:20 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) |
martin rudalics <rudalics@gmx.at> writes:
> The doc-string of `sort-subr' says that
>
> PREDICATE is the function to use to compare keys. If keys are numbers,
> it defaults to `<', otherwise it defaults to `string<'.
>
> and the Elisp manual says something similar. This is slightly
> misleading ever since this change
>
> 1993-02-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
>
> * sort.el (sort-build-lists): Record the key as pair of positions;
> don't copy string from buffer.
> (sort-subr): Use compare-buffer-substrings.
Fixed, thanks.