bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical


From: Stefan Monnier
Subject: bug#70137: 30.0.50; pp-macroexpand-last-sexp buffers should turn lexical binding on
Date: Wed, 17 Apr 2024 13:43:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]