emacs-devel
[Top][All Lists]
Advanced

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

Default lexical-binding to t


From: Stefan Monnier
Subject: Default lexical-binding to t
Date: Fri, 01 Nov 2024 08:55:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

In bug#74145 I suggest that it is time to change the default of
`lexical-binding` to t.  Clearly this is a breaking change, but only for
those files which:

- Don't have a `lexical-binding` cookie.
- Have code which happens to behave differently under the new dialect
  (such code is not rare, but a lot of code works identically in the
  two dialects).

I believe by the time Emacs-31 will be released, such files will be
uncommon, and it is easy to fix them (either by adjusting he code, or
by slapping a `lexical-binding` cookie).


        Stefan




reply via email to

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