diff options
| author | Eli Zaretskii | 2018-07-14 11:18:04 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-07-14 11:18:04 +0300 |
| commit | f4e7f6d73d1dbb260dfce3fcc51cb0d5838cf1bf (patch) | |
| tree | 77ddf30cda095fa92d74cb7b7c4fb5432b9bc59a | |
| parent | ed13639c0f6b4bcfddab55bcca60f8a258d41e2f (diff) | |
| download | emacs-f4e7f6d73d1dbb260dfce3fcc51cb0d5838cf1bf.tar.gz emacs-f4e7f6d73d1dbb260dfce3fcc51cb0d5838cf1bf.zip | |
Improve documentation of 'seqp'
* doc/lispref/sequences.texi (Sequence Functions): Add text to
explain the relation between 'seqp' and 'sequencep'. (Bug#32125)
| -rw-r--r-- | doc/lispref/sequences.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi index 327de6eb86a..51d724cb1d8 100644 --- a/doc/lispref/sequences.texi +++ b/doc/lispref/sequences.texi | |||
| @@ -63,7 +63,8 @@ But it is possible to add elements to the list, or remove elements. | |||
| 63 | 63 | ||
| 64 | @defun sequencep object | 64 | @defun sequencep object |
| 65 | This function returns @code{t} if @var{object} is a list, vector, | 65 | This function returns @code{t} if @var{object} is a list, vector, |
| 66 | string, bool-vector, or char-table, @code{nil} otherwise. | 66 | string, bool-vector, or char-table, @code{nil} otherwise. See also |
| 67 | @code{seqp} below. | ||
| 67 | @end defun | 68 | @end defun |
| 68 | 69 | ||
| 69 | @defun length sequence | 70 | @defun length sequence |
| @@ -479,7 +480,8 @@ built-in sequence types, @code{seq-length} behaves like @code{length}. | |||
| 479 | @defun seqp object | 480 | @defun seqp object |
| 480 | This function returns non-@code{nil} if @var{object} is a sequence | 481 | This function returns non-@code{nil} if @var{object} is a sequence |
| 481 | (a list or array), or any additional type of sequence defined via | 482 | (a list or array), or any additional type of sequence defined via |
| 482 | @file{seq.el} generic functions. | 483 | @file{seq.el} generic functions. This is an extensible variant of |
| 484 | @code{sequencep}. | ||
| 483 | 485 | ||
| 484 | @example | 486 | @example |
| 485 | @group | 487 | @group |