> I had this in my local variables section:
>
> mode: font-lock
> font-lock-keywords: ("^\\S-.*:$")
>
> which worked in Emacs 21, but does not work any more in Emacs 22.
It's a regression though personally I'd avoid placing font-lock
directives in the local variables section and would never permit Emacs
hacking them. It would not be overly difficult to put something like a
locally-hacked property on `font-lock-keywords' and have font-lock obey
that rather than evaluating `font-lock-defaults' but I'm afraid we've
missed this opportunity.
> I solved the problem by writing instead:
>
> mode: font-lock
> font-lock-defaults: (("^\\S-.*:$"))
>
> I don't know whether this should be mentioned in the NEWS.
It should be mentioned. Maybe Stefan can enumerate the directives that
can't be set any more.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug