[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 ffd4771: * doc/lispref/sequences.texi (Sequence F
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 ffd4771: * doc/lispref/sequences.texi (Sequence Functions): Improve indexing. |
Date: |
Sat, 16 Dec 2017 09:55:06 -0500 (EST) |
branch: emacs-26
commit ffd4771560bf91eb4f52970b9e7119ff7b804aed
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* doc/lispref/sequences.texi (Sequence Functions): Improve indexing.
---
doc/lispref/sequences.texi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index 4fba880..8d56e02 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -425,6 +425,7 @@ useful example of @code{sort}.
@cindex sequence functions in seq
@cindex seq library
address@hidden sequences, generalized
The @file{seq.el} library provides the following additional sequence
manipulation macros and functions, prefixed with @code{seq-}. To use
them, you must first load the @file{seq} library.
@@ -859,6 +860,7 @@ it is a function of two arguments to use instead of the
default @code{equal}.
@end defun
@defun seq-subseq sequence start &optional end
address@hidden sub-sequence
This function returns a subset of @var{sequence} from @var{start}
to @var{end}, both integers (@var{end} defaults to the last element).
If @var{start} or @var{end} is negative, it counts from the end of
@@ -926,6 +928,8 @@ contain less elements than @var{n}. @var{n} must be an
integer. If
@end defun
@defun seq-intersection sequence1 sequence2 &optional function
address@hidden sequences, intersection of
address@hidden intersection of sequences
This function returns a list of the elements that appear both in
@var{sequence1} and @var{sequence2}. If the optional argument
@var{function} is address@hidden, it is a function of two arguments to
@@ -972,6 +976,10 @@ of @var{sequence}. Keys are compared using @code{equal}.
@end defun
@defun seq-into sequence type
address@hidden convert sequence to another type
address@hidden list to vector
address@hidden vector to list
address@hidden string to vector
This function converts the sequence @var{sequence} into a sequence
of type @var{type}. @var{type} can be one of the following symbols:
@code{vector}, @code{string} or @code{list}.
@@ -993,6 +1001,8 @@ of type @var{type}. @var{type} can be one of the
following symbols:
@end defun
@defun seq-min sequence
address@hidden minimum value of sequence
address@hidden sequence minimum
This function returns the smallest element of @var{sequence}. The
elements of @var{sequence} must be numbers or markers
(@pxref{Markers}).
@@ -1010,6 +1020,8 @@ elements of @var{sequence} must be numbers or markers
@end defun
@defun seq-max sequence
address@hidden maximum value of sequence
address@hidden sequence maximum
This function returns the largest element of @var{sequence}. The
elements of @var{sequence} must be numbers or markers.
@@ -1027,6 +1039,7 @@ elements of @var{sequence} must be numbers or markers.
@defmac seq-doseq (var sequence) address@hidden
@cindex sequence iteration
address@hidden iteration over vector or string
This macro is like @code{dolist} (@pxref{Iteration, dolist}), except
that @var{sequence} can be a list, vector or string. This is
primarily useful for side-effects.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 ffd4771: * doc/lispref/sequences.texi (Sequence Functions): Improve indexing.,
Eli Zaretskii <=