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

From: Mattias Engdegård <[email-masked]>
Date: Thu, 19 Oct 2023 13:48:21 +0200

The warning about a missing lexical-binding cookie rather belongs in the compiler than checkdoc, because it's not about documentation or style but code generation and ability to detect errors, both which are hindered by a missing cookie.

Moving the warning to the compiler also makes it more widely seen.