Subject: Removing deprecated use of -*- mode:foo -*- for minor modes

From: Stefan Kangas <[email-masked]>
Date: Tue, 11 Mar 2025 22:44:00 -0500

In Emacs 24.1 (Bug#8613), we deprecated setting minor modes in file
local variables (e.g., "-*- mode:flymake -*-").  See also the part it
played in Bug#37656.

Its deprecation is documented in comments in files.el, and
(info "(emacs) Specifying File Variables")
also warns against such use.

I propose that now is a good time to remove this feature.