emacs-devel
[Top][All Lists]
Advanced

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

Re: master 7b62ea9: New major mode with font-locking for etc/AUTHORS


From: Lars Ingebrigtsen
Subject: Re: master 7b62ea9: New major mode with font-locking for etc/AUTHORS
Date: Tue, 21 Sep 2021 21:46:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

stefankangas@gmail.com (Stefan Kangas) writes:

> +                      (goto-char (point-min))
> +                      (if (re-search-forward "^Local Variables:$" nil t)
> +                          (progn (forward-line -1) (point))

This leads to:

  ELC      textmodes/etc-authors-mode.elc
Local variables list is not properly terminated
Local variables list is not properly terminated

So you have to obfuscate the regexp there to have it not trigger the
local variable detector, I think.

-- 
(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]