[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs-24 d69e9f1: CC Mode: Stop Font Lock forcing font
From: |
Alan Mackenzie |
Subject: |
Re: [Emacs-diffs] emacs-24 d69e9f1: CC Mode: Stop Font Lock forcing fontification from BOL. Fixes debbugs#19669. |
Date: |
Mon, 2 Feb 2015 19:27:07 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello, Stefan.
On Mon, Feb 02, 2015 at 01:50:35PM -0500, Stefan Monnier wrote:
> > + (when (boundp 'font-lock-extend-region-functions)
> > + (setq font-lock-extend-region-functions nil))
> This breaks all other major modes's font-locking. Please make this
> change buffer-locally, as usual.
font-lock-extend-region-functions is set to buffer local on L1155 of
font-lock.el (in the trunk). If the above setq is breaking font-locking
in other modes, then something strange is going on.
Have you actually seen this breakage in other modes? If so, where and
how?
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).