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

From: Stefan Monnier <[email-masked]>
Date: Thu, 16 Apr 2020 19:06:51 -0400

> Each package could add its data file name to auto-mode-alist.
> For example, bookmark.el could do something like:
>
>   (add-to-list 'auto-mode-alist (cons bookmark-default-file 'emacs-lisp-data-mode))

For generated files, it's probably better to add a -*- cookie in
the file.

        Stefan