GNU bug report logs - #47813
28.0.50; Confusing new calling convention for define-minor-mode

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Fri, 16 Apr 2021 01:52:01 UTC

Severity: normal

Found in version 28.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 47813 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 47813 <at> debbugs.gnu.org
Subject: Re: bug#47813: 28.0.50; Confusing new calling convention for
 define-minor-mode
Date: Sat, 17 Apr 2021 09:57:15 -0400
Lars Ingebrigtsen [2021-04-17 13:49:13] wrote:
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>> I went with
>>
>>     (mode doc [keyword val ...] &rest body)
>>
>> since it's allowed to have no keywords (if body is empty).
>
> It still kinda looks like the keywords are optional, even if you have a
> body.  What about:
>
>   (mode doc [keyword val ... &rest body])

Done, thanks,


        Stefan





This bug report was last modified 4 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.