Subject: bug#40573: 27.0.90; flymake-mode broken in scratch buffer

From: Stefan Monnier <[email-masked]>
Date: Tue, 14 Apr 2020 16:05:15 -0400

>> > Re. defun finding.  In general, there are no things
>> > analogous to a defun in data files, there just aren't!
>> I think the example shown by Juri included a lambda-function.

I think the main issue should not be whether the file can contain Elisp
code somewhere, but whether the toplevel structure of the file is that
of Elisp code (i.e. whether it makes sense to pass it to `load` or
`byte-compile`).

        Stefan