Subject: Re: bug#77883: 31.0.50; C-c C-e in *scratch* generates a missing lexical binding cookie warning

From: Michael Heerdegen <[email-masked]>
Date: Fri, 18 Apr 2025 15:05:34 +0200

Michael Heerdegen <[email-masked]> writes:

> Indeed.  This looks like an anachronism to me.  But I would have to
> investigate how the current situation evolved.  Unless someone else
> remembers...

See Bug#20139.  That was quite a while ago (2019) and just documented
the status quo (and in the docstring only) at that point of time because
someone had been surprised by the behavior.

Looks like `eval-buffer' has just been completely forgotten in the
transition to making lexical binding the default.

Michael.