Subject: Re: bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 17 Apr 2022 23:32:38 +0200

Here's a must simpler recipe.  Put this into a buffer:

Local variables:
mode: text
end:

Then say `M-x emacs-lisp-mode'.  After doing so, the major mode will be
`text-mode'.

This is a regression in 28.1 from 27.2.  I'll have a look at it
tomorrow if nobody beats me to it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no