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:
Simen Heggestøyl 2017-04-09 11:06:44 +02:00 committed by Noam Postavsky
parent 40e1db8ccd
commit 3d2e3dc1ca
2 changed files with 5 additions and 5 deletions

View file

@ -474,8 +474,8 @@ built-in sequence types, @code{seq-length} behaves like @code{length}.
@xref{Definition of length}.
@end defun
@defun seqp sequence
This function returns non-@code{nil} if @var{sequence} is a sequence
@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.

View file

@ -127,9 +127,9 @@ the sequence, and its index within the sequence."
(setq index (1+ index)))
sequence)))
(cl-defgeneric seqp (sequence)
"Return non-nil if SEQUENCE is a sequence, nil otherwise."
(sequencep sequence))
(cl-defgeneric seqp (object)
"Return non-nil if OBJECT is a sequence, nil otherwise."
(sequencep object))
(cl-defgeneric seq-copy (sequence)
"Return a shallow copy of SEQUENCE."