|
From: | Dmitry Gutov |
Subject: | Re: [PATCH] font-core: add font-lock-{enable, disable}-global-for functions |
Date: | Sun, 04 Jan 2015 17:18:15 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 |
On 01/04/2015 04:39 PM, Stefan Monnier wrote:
(add-hook 'compilation-mode-hook (lambda () (font-lock-mode -1)))So what is font-lock-global-modes for anyway?I don't know.
For centralized user customization, I believe.It's a nice pattern: you see all the major modes font-lock-mode won't be enabled in. I've copied it in company-mode when users asked for this capability.
[Prev in Thread] | Current Thread | [Next in Thread] |