GNU bug report logs - #47925
28.0.50; define-minor-mode without body results in false warning

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Tue, 20 Apr 2021 22:25:02 UTC

Severity: normal

Tags: fixed

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


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 47925 <at> debbugs.gnu.org
Subject: bug#47925: 28.0.50; define-minor-mode without body results in false warning
Date: Tue, 20 Apr 2021 19:41:02 -0400
>   (define-minor-mode transient-resume-mode
>     "Auxiliary minor-mode used to resume a transient after viewing help.")
[...]
> Unfortunately that results in a warning:
>
>   transient.el:3318:20: Warning: Use keywords rather than deprecated positional
>       arguments to `define-minor-mode'

I have pushed a patch to `master` which hopefully fixes this without
introducing regressions.


        Stefan





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

Previous Next


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