Subject: Re: 28.0.50; Confusing new calling convention for define-minor-mode

From: Stefan Monnier <[email-masked]>
Date: Fri, 16 Apr 2021 23:42:53 -0400

> In my case, eldoc could have been such a source of information, by
> letting showing something like
>
>  (mode doc keyword1 val1 [keyword val ...] &rest body)

I went with

    (mode doc [keyword val ...] &rest body)

since it's allowed to have no keywords (if body is empty).

> - or at least the docstring of `define-minor-mode' - tell that if no
> keywords can be provided one can use "e.g. :lighter nil" to get rid of
> the warnings (and maybe that this will probably not be necessary any
> more in the future).

I added a mention of `:lighter nil`.

        Stefan