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 #32 received at 47813 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
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 13:49:13 +0200
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])

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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