From 2db707cfd23eb8126990b57f326d27a03a65177e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 30 Apr 2026 10:24:36 -0400 Subject: [PATCH] (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. --- lisp/emacs-lisp/seq.el | 4 +--- lisp/emacs-lisp/shortdoc-doc.el | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/emacs-lisp/seq.el b/lisp/emacs-lisp/seq.el index e0a41b380b5..b8f35c10def 100644 --- a/lisp/emacs-lisp/seq.el +++ b/lisp/emacs-lisp/seq.el @@ -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)) diff --git a/lisp/emacs-lisp/shortdoc-doc.el b/lisp/emacs-lisp/shortdoc-doc.el index 9b1f00df127..eb642c1600b 100644 --- a/lisp/emacs-lisp/shortdoc-doc.el +++ b/lisp/emacs-lisp/shortdoc-doc.el @@ -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)))