From: Eli Zaretskii Date: Sat, 14 Jul 2018 08:18:04 +0000 (+0300) Subject: Improve documentation of 'seqp' X-Git-Tag: emacs-26.1.90~264 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f4e7f6d73d1dbb260dfce3fcc51cb0d5838cf1bf;p=emacs.git Improve documentation of 'seqp' * doc/lispref/sequences.texi (Sequence Functions): Add text to explain the relation between 'seqp' and 'sequencep'. (Bug#32125) --- 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. @defun sequencep object This function returns @code{t} if @var{object} is a list, vector, -string, bool-vector, or char-table, @code{nil} otherwise. +string, bool-vector, or char-table, @code{nil} otherwise. See also +@code{seqp} below. @end defun @defun length sequence @@ -479,7 +480,8 @@ built-in sequence types, @code{seq-length} behaves like @code{length}. @defun seqp object This function returns non-@code{nil} if @var{object} is a sequence (a list or array), or any additional type of sequence defined via -@file{seq.el} generic functions. +@file{seq.el} generic functions. This is an extensible variant of +@code{sequencep}. @example @group