From: Kim F. Storm Date: Mon, 20 Jun 2005 21:37:27 +0000 (+0000) Subject: (Fsort): Doc fix. X-Git-Url: http://git.hcoop.net/bpt/emacs.git/commitdiff_plain/5c796e808c3b95dbcd9c2dc149ebe36f6d4e4908 (Fsort): Doc fix. --- diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 4e42455b74..aae18d542f 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,7 @@ +2005-06-20 Kim F. Storm + + * lists.texi (Rearrangement): Sort predicate may just return non-nil. + 2005-06-20 Karl Berry * syntax.texi (Syntax Flags): Make last column very slightly wider diff --git a/src/fns.c b/src/fns.c index a36789b4a9..792f94189d 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1892,7 +1892,7 @@ Lisp_Object merge (); DEFUN ("sort", Fsort, Ssort, 2, 2, 0, doc: /* Sort LIST, stably, comparing elements using PREDICATE. 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. */) (list, predicate) Lisp_Object list, predicate;