Subject: Re: bug#44854: [PATCH] Add lexical-binding cookie to autoload files

From: Eli Zaretskii <[email-masked]>
Date: Wed, 25 Nov 2020 20:22:12 +0200

> From: Stefan Monnier <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Wed, 25 Nov 2020 12:54:39 -0500
> 
> > Then perhaps it isn't yet time to start putting the cookies into files
> > that don't need it, like the autoloads files?
> 
> I think it would be good to aim for Emacs-28 being distributed with all
> *its* .el files as well as the Elisp files it generates using
> `lexical-binding:t`.  That's why I'm in favor of adding this cookie to
> the autoload files now.

What's the rationale?  Why not leave it without the cookie, right
until the time we turn lexical-binding on by default?