]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak sort docstring
authorDaniel Colascione <dancol@dancol.org>
Mon, 15 Sep 2014 05:09:44 +0000 (22:09 -0700)
committerDaniel Colascione <dancol@dancol.org>
Mon, 15 Sep 2014 05:09:44 +0000 (22:09 -0700)
* fns.c (Fsort): Tweak sort docstring.

src/ChangeLog
src/fns.c

index 5f1dfbfe785da14ee30ca18348de7a2bd64a1e7d..5dc1d912cafcf42c447c02747f8dcfb34366c965 100644 (file)
@@ -1,3 +1,7 @@
+2014-09-15  Daniel Colascione  <dancol@dancol.org>
+
+       * fns.c (Fsort): Tweak sort docstring.
+
 2014-09-15  Eli Zaretskii  <eliz@gnu.org>
 
        * w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of pipes.
index 260bc4e3a1271827025d20c906f8dc4c8e2ea5ec..bbff9b6d554f24fa6e66fe2ff596510176b5c535 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -2005,10 +2005,10 @@ sort_vector (Lisp_Object vector, Lisp_Object predicate)
 
 DEFUN ("sort", Fsort, Ssort, 2, 2, 0,
        doc: /* Sort SEQ, stably, comparing elements using PREDICATE.
-Returns the sorted sequence.  SEQ should be a list or vector.
-If SEQ is a list, it is modified by side effects.  PREDICATE
-is called with two elements of SEQ, and should return non-nil
-if the first element should sort before the second.  */)
+Returns the sorted sequence.  SEQ should be a list or vector.  SEQ is
+modified by side effects.  PREDICATE is called with two elements of
+SEQ, and should return non-nil if the first element should sort before
+the second.  */)
   (Lisp_Object seq, Lisp_Object predicate)
 {
   if (CONSP (seq))