Subject: flymake in elisp buffer elides warning on a blank first line
From: Mattias Engdegård <[email-masked]>
To: Emacs Bug Report <[email-masked]>
Cc: João Távora <[email-masked]>
Date: Tue, 9 Apr 2024 15:45:50 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Emacs master:

1. Open an Elisp file.
2. Enable flymake.
3. Insert a blank line at the top.

This should result in a warning about a missing 'lexical-binding' cookie but none is shown.
Making the first line non-empty, even a single space, makes the warning appear.