bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#33798: 27.0.50; font-lock-ensure fontifies the whole buffer


From: Juri Linkov
Subject: bug#33798: 27.0.50; font-lock-ensure fontifies the whole buffer
Date: Wed, 19 Dec 2018 23:56:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

>> I can see the same effect in internal buffers created by diff-mode:
>> switching to these buffers I see that font-lock-ensure fontifies
>> the whole buffer, whereas using font-lock-fontify-region I see only
>> small parts of the source buffer fontified corresponding to diff hunks.
>
> I installed a patch into `master` which should fix this.
> Could you check it works for your cases?

I checked that it works now in all cases and fontifies only needed hunks,
so I updated diff-mode to always use font-lock-ensure.





reply via email to

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