Change name of `seqp' argument (Bug#26411)
* lisp/emacs-lisp/seq.el (seqp): Change argument name. * doc/lispref/sequences.texi: Update the documentation for seqp.
This commit is contained in:
parent
40e1db8ccd
commit
3d2e3dc1ca
2 changed files with 5 additions and 5 deletions
|
@ -474,8 +474,8 @@ built-in sequence types, @code{seq-length} behaves like @code{length}.
|
||||||
@xref{Definition of length}.
|
@xref{Definition of length}.
|
||||||
@end defun
|
@end defun
|
||||||
|
|
||||||
@defun seqp sequence
|
@defun seqp object
|
||||||
This function returns non-@code{nil} if @var{sequence} is a sequence
|
This function returns non-@code{nil} if @var{object} is a sequence
|
||||||
(a list or array), or any additional type of sequence defined via
|
(a list or array), or any additional type of sequence defined via
|
||||||
@file{seq.el} generic functions.
|
@file{seq.el} generic functions.
|
||||||
|
|
||||||
|
|
|
@ -127,9 +127,9 @@ the sequence, and its index within the sequence."
|
||||||
(setq index (1+ index)))
|
(setq index (1+ index)))
|
||||||
sequence)))
|
sequence)))
|
||||||
|
|
||||||
(cl-defgeneric seqp (sequence)
|
(cl-defgeneric seqp (object)
|
||||||
"Return non-nil if SEQUENCE is a sequence, nil otherwise."
|
"Return non-nil if OBJECT is a sequence, nil otherwise."
|
||||||
(sequencep sequence))
|
(sequencep object))
|
||||||
|
|
||||||
(cl-defgeneric seq-copy (sequence)
|
(cl-defgeneric seq-copy (sequence)
|
||||||
"Return a shallow copy of SEQUENCE."
|
"Return a shallow copy of SEQUENCE."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue