[Top][All Lists]

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

Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functi

From: Dmitry Gutov
Subject: Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions
Date: Sun, 04 Jan 2015 17:56:10 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0

On 01/04/2015 05:43 PM, Michal Nazarewicz wrote:

It doesn't work with derived modes though, does it?

It doesn't. That would be easy to fix, but I'm sure it makes sense for font-lock.

Also, if that's a pattern that's going to be repeated, should there be
some centralised code for handling it?

M-x customize-variable ?

`turn-on-font-lock-if-desired' is simple enough to be copied and tweaked as desired (in some cases to maybe consider derived modes, but not in others).

reply via email to

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