(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:
Stefan Monnier 2026-04-30 10:24:36 -04:00
parent 978c14b131
commit 2db707cfd2
2 changed files with 1 additions and 4 deletions

View file

@ -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))

View file

@ -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)))