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

From: Robert Pluim <[email-masked]>
Date: Mon, 04 Aug 2025 11:08:41 +0200

>>>>> On Sat, 02 Aug 2025 15:35:44 -0400, Stefan Monnier <[email-masked]> said:

    >>> Shortdoc:
    >>> 
    >>> >> (seq-empty-p arg &rest args)

    Stefan> Hmm... I suggest the patch below.

That fixes `seq-empty-p', but others are still sub-optimal, eg
`seq-concatenate':

    (seq-concatenate arg1 &rest rest)

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.

Robert
--