]> code.delx.au - gnu-emacs/commitdiff
(Fsort): Doc fix.
authorKim F. Storm <storm@cua.dk>
Mon, 20 Jun 2005 21:37:27 +0000 (21:37 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 20 Jun 2005 21:37:27 +0000 (21:37 +0000)
lispref/ChangeLog
src/fns.c

index 4e42455b741fe2a65eab86a4a65431d5d4546712..aae18d542fabc03a272e92f8b6546912794a115e 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        * syntax.texi (Syntax Flags): Make last column very slightly wider
index a36789b4a92b1d4cf1e3f0d16326a8687480dfae..792f94189d1e9d5844db99a3caf7ea97ddb0c57e 100644 (file)
--- 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;