[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66636: Move lexical-binding warning from checkdoc to byte-compiler
From: |
Drew Adams |
Subject: |
bug#66636: Move lexical-binding warning from checkdoc to byte-compiler |
Date: |
Sat, 21 Oct 2023 14:42:56 +0000 |
> If specifying lexical-binding:nil in the first line is the solution
> for those who want to keep dynamically-bound code, then yes, it should
> be definitely in NEWS, and probably also in the ELisp manual.
Yes, it should be documented, but not just as
a simple solution, because it's not.
FWIW: It's not a solution for code that uses
`lexical-let[*]'. That's simply been removed
now from Emacs, unfortunately. It's not as
simple as just setting `lexical-binding' to nil
and replacing occurrences of `lexical-binding'
with `let[*]'.
And it's not even simple to try to include the
macros for `lexical-let[*]' in your code as a
temporary stop-gap. Ditching `lexical-let[*]'
can really break things. Just saying...
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, (continued)
bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Stefan Monnier, 2023/10/20
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Mattias Engdegård, 2023/10/20
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Eli Zaretskii, 2023/10/20
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Mattias Engdegård, 2023/10/21
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Eli Zaretskii, 2023/10/21
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Mattias Engdegård, 2023/10/21
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler,
Drew Adams <=
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Stefan Monnier, 2023/10/21
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Eli Zaretskii, 2023/10/21
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Po Lu, 2023/10/21
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Stefan Monnier, 2023/10/22
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Eli Zaretskii, 2023/10/22
- bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Stefan Monnier, 2023/10/22
bug#66636: Move lexical-binding warning from checkdoc to byte-compiler, Drew Adams, 2023/10/20