[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define-minor-mode: Suppressing warning
From: |
T.V Raman |
Subject: |
Re: define-minor-mode: Suppressing warning |
Date: |
Sun, 16 May 2021 12:52:41 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
Really? I looked at define-minor-mode in emacs 27.1 and it does not
appear to take the keyword argument, unless that is I'm very confused.
> T.V Raman [2021-05-16 09:44:54] wrote:
>
>> When compiling code released for emacs 27.2 with emacs 28, you
>> presently get this warning:
>>
>> emacspeak-comint.el:582:12: Warning: Use keywords rather than deprecated
>> positional arguments to `define-minor-mode'
>>
>> I'm unable to suppress this warning --- and I cant update my code
>> to use the recommended keyword argument form until emacs 28 is
>> released.
>
> Why? The recommended syntax is the one that was introduced back in
> Emacs-21!
>
>
> Stefan
>
--
Thanks,
--Raman
?7?4 Id: kg:/m/0285kf1 ?0?8