Subject: bug#79199: [PATCH] Add 'lexical-binding' cookie in nnrss output

From: Eli Zaretskii <[email-masked]>
Date: Sun, 10 Aug 2025 14:55:04 +0300

> Cc: Shenghuo Zhu <[email-masked]>, [email-masked]
> From: Manuel Giraud <[email-masked]>
> Date: Sun, 10 Aug 2025 12:33:32 +0200
> 
> Robert Pluim <[email-masked]> writes:
> 
> > stick a
> >
> >              (let ((warning-inhibit-types '((files missing-lexbind-cookie))))
> >
> > around the loading of the file.
> 
> Thanks.  Do you know if we need to have both the fix at write time and
> the fix at read time?  Because FWIW, with only the fix at write time I
> don't see any warnings anymore.

The fix at read time is for when Emacs loads a file written by an
older version of Emacs.  If that could happen (e.g., when Emacs 31 is
first run after being installed), then we need also the read-time fix.