|
From: | Dmitry Gutov |
Subject: | Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049. |
Date: | Thu, 14 Nov 2019 21:58:24 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 14.11.2019 16:55, Stefan Monnier wrote:
So, your earlier patch which added a call to `font-lock-ensure` was "more or less right", except that it should have used `jit-lock-ensure` (currently called `jit-lock-fontify-now`)
Stefan, could you also clarify that?font-lock-ensure-function is set to jit-lock-fontify-now when jit-lock is in use. And when it's not, wouldn't it be better to fontify the region the "old" way instead of leaving it unfontified?
Is that because font-lock-ensure calls font-lock-set-defaults?
[Prev in Thread] | Current Thread | [Next in Thread] |