[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 02bdb1e4c50: ; Another fix of last change.
From: |
Eli Zaretskii |
Subject: |
master 02bdb1e4c50: ; Another fix of last change. |
Date: |
Fri, 2 Feb 2024 10:46:41 -0500 (EST) |
branch: master
commit 02bdb1e4c50153a1754b251538d705d7d81668f8
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Another fix of last change.
---
doc/lispref/sequences.texi | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 9407b5f6342..068b69e9ef8 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -449,13 +449,14 @@ or vector element exactly once.
@cindex decorate-sort-undecorate
@cindex Schwartzian transform
@defun sort-on sequence predicate accessor
-This function stably sorts the list or vector @var{sequence}, comparing
-the sort keys of the elements using @var{predicate}. The comparison
-function @var{predicate} accepts two arguments, the sort keys to
-compare, and should return non-@code{nil} if the element corresponding
-to the first key should sort before the element corresponding to the
-second key. The function computes a sort key of each element by calling
-the @var{accessor} function on that element; it does so exactly once for
+This function stably sorts @var{sequence}, which can be a list, a
+vector, a bool-vector, or a string. It sorts by comparing the sort
+keys of the elements using @var{predicate}. The comparison function
+@var{predicate} accepts two arguments, the sort keys to compare, and
+should return non-@code{nil} if the element corresponding to the first
+key should sort before the element corresponding to the second key. The
+function computes a sort key of each element by calling the
+@var{accessor} function on that element; it does so exactly once for
each element of @var{sequence}. The @var{accessor} function is called
with a single argument, an element of @var{sequence}.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 02bdb1e4c50: ; Another fix of last change.,
Eli Zaretskii <=