summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2014-09-14 22:09:44 -0700
committerDaniel Colascione <dancol@dancol.org>2014-09-14 22:09:44 -0700
commit497daa12743ed71a70e41f966631d1c8856248cc (patch)
tree8b9fa55592a898b8d194e879e591b2c589528e21 /src/fns.c
parentfc68497a79d0ac120545cb7c48e1f91c27111472 (diff)
downloademacs-497daa12743ed71a70e41f966631d1c8856248cc.tar.gz
Tweak sort docstring
* fns.c (Fsort): Tweak sort docstring.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fns.c b/src/fns.c
index 260bc4e3a12..bbff9b6d554 100644
--- 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))