Subject: bug#50738: `ert-deftest` bodies should not use lexical-binding=nil

From: Eli Zaretskii <[email-masked]>
Date: Thu, 23 Sep 2021 08:50:31 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Wed, 22 Sep 2021 22:33:48 +0200
> Cc: [email-masked]
> 
> Mattias Engdegård <[email-masked]> writes:
> 
> > 1. Make with-temp-buffer use the current value of lexical-binding for
> > the temporary buffer, instead of always using nil.
> 
> I think that makes the most sense?  

I think it's dangerous to do this in Emacs 28.  After all, the
original issue is with ERT, whereas the change will affect gobs of
code.  After the emacs-28 branch is cut, if you feel adventurous, ...