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

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

bug#66636: Move lexical-binding warning from checkdoc to byte-compiler


From: Mattias Engdegård
Subject: bug#66636: Move lexical-binding warning from checkdoc to byte-compiler
Date: Sat, 21 Oct 2023 11:53:58 +0200

20 okt. 2023 kl. 21.27 skrev Eli Zaretskii <eliz@gnu.org>:

> Did you see what Po Lu and I said?

Not sure what he was trying to say, but it looks like a misunderstanding.
I'll try to clarify matters here. Please tell me if you still have concerns.

We certainly care about users of legacy code. The warning is intended as a soft 
nudge to encourage users to convert their code to lexical binding, which is 
quite straightforward most of the time.

When it's not, or when the user simply doesn't have the time or expertise to 
perform the conversion, it's just a matter of inserting `-*- lexical-binding: 
nil -*-`. Doing so will both silence the warning and buy the user some 
reprieve. A lot of reprieve, in fact.

This should probably be pointed out in the NEWS entry as well.






reply via email to

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