Subject: Re: bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical binding on

From: Stefan Monnier <[email-masked]>
Date: Wed, 17 Apr 2024 13:43:07 -0400

> This would be the patch to propagate the lexical binding value.

LGTM.  Can you install it, or do you want me to do it?

> (A less magical alternative I guess would be to just always set it to
> t.  Who needs to debug non-lexical code these days anyway?)

Not sure why you think it'd be less magical.  🙂

> It doesn't cover the new `pp-insert-short-sexp'.  Here again setting
> lexical-binding=t by default might be okay.

`pp-insert-short-sexp` should use `lisp-data-mode` rather than
`emacs-lisp-mode` anyway.

        Stefan