Subject: Re: bug#77679: [PATCH] recentf, abbrev: insert a lexical-binding cookie

From: Eli Zaretskii <[email-masked]>
Date: Wed, 09 Apr 2025 16:10:49 +0300

tags 77679 notabug wontfix
close 77679

> Cc: Arsen Arsenović <[email-masked]>
> Date: Wed,  9 Apr 2025 14:21:06 +0200
> From:  Arsen Arsenović via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> * lisp/recentf.el (recentf-save-file-header): Change default
> header to include a lexical-binding cookie.
> * lisp/abbrev.el (write-abbrev-file): Insert a lexical-binding
> cookie into abbrev files.
> ---
> This fixes a few lexical-binding warnings I noticed when updating Emacs
> today.

Thanks, but sorry, no.  We cannot make this change, definitely not as
a means to avoid this new warning, because there are gazillions of
such files out there, and we cannot possibly annoy users who will
upgrade to Emacs 31 due to these files.

We should instead disable the warning when these files are loaded.
The warning is for Lisp programs written by users, not for snippets of
Lisp written by Emacs itself for its own consumption.

I'm therefore closing this non-bug.