bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars Ingebrigtsen
Subject: bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error
Date: Sun, 17 Apr 2022 21:37:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> What's your suggestion for how this should work, then?  etc/NEWS in
>> auto-mode-alist?
>
> Either that, or private customizations.

Sure, it might make sense for people that use Emacs 28 to edit NEWS in
Emacs 29 to use something like the following customisation:

(unless (fboundp 'emacs-news-mode)
  (defun emacs-news-mode ()
    (let ((inhibit-local-variables-regexps '(".*")))
      (outline-mode))))

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]