mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
(seq-concatenate): Fix docstring (bug#80810)
* lisp/emacs-lisp/seq.el (seq-concatenate): Remove confusing `(fn TYPE SEQUENCE...)` which made `help-function-arglist` return less informative results and wasn't even consistent with the rest of the docstring. * lisp/emacs-lisp/shortdoc-doc.el (sequence): Revert last change, since it's now redundant.
This commit is contained in:
parent
978c14b131
commit
2db707cfd2
2 changed files with 1 additions and 4 deletions
|
|
@ -310,9 +310,7 @@ This does not modify SEQUENCE."
|
|||
(cl-defgeneric seq-concatenate (type &rest sequences)
|
||||
"Concatenate SEQUENCES into a single sequence of type TYPE.
|
||||
TYPE must be one of following symbols: `vector', `string' or `list'.
|
||||
This does not modify any of the SEQUENCES.
|
||||
|
||||
\n(fn TYPE SEQUENCE...)"
|
||||
This does not modify any of the SEQUENCES."
|
||||
(setq sequences (mapcar #'seq-into-sequence sequences))
|
||||
(pcase type
|
||||
('vector (apply #'vconcat sequences))
|
||||
|
|
|
|||
|
|
@ -998,7 +998,6 @@
|
|||
:eval (seq-some #'floatp '(1 2.0 3)))
|
||||
"Building Sequences"
|
||||
(seq-concatenate
|
||||
:args (type &rest sequences)
|
||||
:eval (seq-concatenate 'vector '(1 2) '(c d)))
|
||||
(seq-copy
|
||||
:eval (seq-copy '(a 2)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue