|
From: | Stefan Monnier |
Subject: | bug#20146: font-lock-extend-jit-lock-region-after-change: results are discarded instead of being returned. |
Date: | Wed, 25 Mar 2015 14:26:06 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> OK. But I have to be aware of how jit-lock works: in particular how the > actions in after-change-functions influence those of > jit-lock-fontify-now and font-lock-fontify-region. No, that's the wrong way to go about it. Just assume jit-lock is an *adversary*, which chooses the bounds it passes to font-lock-fontify-region trying to find holes in your code. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |