]> git.eshelyaron.com Git - emacs.git/commitdiff
Change name of `seqp' argument (Bug#26411)
authorSimen Heggestøyl <simenheg@gmail.com>
Sun, 9 Apr 2017 09:06:44 +0000 (11:06 +0200)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 22 Jun 2018 00:27:35 +0000 (20:27 -0400)
* lisp/emacs-lisp/seq.el (seqp): Change argument name.

* doc/lispref/sequences.texi: Update the documentation for seqp.

doc/lispref/sequences.texi
lisp/emacs-lisp/seq.el

index f347cd9e980de3bf5d6b9448697e72a656b8db9b..76a4a46888004c4a752ce61e9919b464cba55255 100644 (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.
 
index 5d6ab7e057f1f9ac8d12f86bff4239a856afcf15..b40c424e3031833d207e37a9545b5aa6c14d687c 100644 (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."