Subject: bug#66867: lexical binding?

From: Michael Heerdegen <[email-masked]>
Date: Thu, 02 Nov 2023 02:15:48 +0100

Greg Minshall <[email-masked]> writes:

> hi.  maybe this has something to do with not having lexical binding
> enabled (when the =(eval)= is being done)?

Yes, creating oclosures requires lexical-binding, and this is not
directly enforced in the code.  Your backtrace looks like if the code
was interpreted using the dynamically binding dialect.

--eval uses lexical-binding since Emacs 27.1.

Michael.