|
From: | Stefan Monnier |
Subject: | bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode |
Date: | Fri, 16 Apr 2021 23:42:53 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |