[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Silencing the compiler with latest Emacs master
From: |
Arash Esbati |
Subject: |
Re: [PATCH] Silencing the compiler with latest Emacs master |
Date: |
Wed, 13 Jul 2022 10:24:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 |
Roland Winkler <winkler@gnu.org> writes:
> On Wed, Jul 06 2022, Arash Esbati wrote:
>
> It seems you are updating your emacs from trunk more often than me.
I'm trying to reduce the frequency, it ends up in work for me :-)
>> Further, the compiler complains about:
>>
>> bbdb.el:1736:29: Warning: ‘sc-load-hook’ is an obsolete variable (as of
>> 26.1);
>> use ‘with-eval-after-load’ instead.
>>
>> I'm also attaching a small change using `eval-after-load' which should
>> fix this and also supports older Emacs'en.
>
> Funny! Emacs 27 and 28 compile this code without complaints.
> But I'll be glad when these load hooks disappear.
I also can't tell why the compiler started complaining 6 years after
making that hook obsolete.
Best, Arash