Subject: bug#9704: 24.0.50; need command to fontify whole buffer

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 31 Oct 2019 14:57:20 +0100

"Drew Adams" <[email-masked]> writes:

>>>From emacs-devel thread "command to fontify whole buffer":
>
>> From: Stefan Monnier Sent: Thursday, September 22, 2011 9:23 PM
>> > Sometimes I want to fontify a whole buffer (really).  One 
>> > use case is to be able to then use the fontification for other (e.g. code)
>> > purposes than visual highlighting.
>> 
>> Agreed.  We need two functions:
>>
>> - font-lock-flush-region (which marks the region for 
>>   re-fontification).
>> - font-lock-ensure-region (which makes sure the region is fontified).
>>
>> The functions we have were designed before lazy/jit lock and were
>> adjusted in ad-hoc ways when jit/lazy was added.

font-lock-flush and font-lock-ensure has existed since 25.1, so I'm
closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no