Commit 5c796e80 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(Fsort): Doc fix.

parent fb056bef
2005-06-20 Kim F. Storm <storm@cua.dk>
* lists.texi (Rearrangement): Sort predicate may just return non-nil.
2005-06-20 Karl Berry <karl@gnu.org> 2005-06-20 Karl Berry <karl@gnu.org>
* syntax.texi (Syntax Flags): Make last column very slightly wider * syntax.texi (Syntax Flags): Make last column very slightly wider
......
...@@ -1892,7 +1892,7 @@ Lisp_Object merge (); ...@@ -1892,7 +1892,7 @@ Lisp_Object merge ();
DEFUN ("sort", Fsort, Ssort, 2, 2, 0, DEFUN ("sort", Fsort, Ssort, 2, 2, 0,
doc: /* Sort LIST, stably, comparing elements using PREDICATE. doc: /* Sort LIST, stably, comparing elements using PREDICATE.
Returns the sorted list. LIST is modified by side effects. Returns the sorted list. LIST is modified by side effects.
PREDICATE is called with two elements of LIST, and should return t PREDICATE is called with two elements of LIST, and should return non-nil
if the first element is "less" than the second. */) if the first element is "less" than the second. */)
(list, predicate) (list, predicate)
Lisp_Object list, predicate; Lisp_Object list, predicate;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment