Subject: bug#79128: 31.0.50; shortdoc doesn't always display the correct arglist

From: Stefan Monnier <[email-masked]>
Date: Mon, 04 Aug 2025 16:10:09 -0400

> which is defined as:
>
>     (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'.
>
>     \n(fn TYPE SEQUENCE...)"
>
> The signature is correct, but doesnʼt obey the "(fn" thing, nor does
> it preserve the argument names.

The (fn TYPE SEQUENCE...) syntax is not a "proper" formal arglist, so
`help-function-arglist` explicitly rejects it.  I'd just delete the
`\n(fn TYPE SEQUENCE...)` from the docstring.

        Stefan