Subject: Re: bug#20911: 24.5.3; Syntax should not require font-lock

From: Dmitry Gutov <[email-masked]>
Date: Sat, 27 Jun 2015 19:37:41 +0300

On 06/27/2015 06:31 PM, Dmitry Gutov wrote:

> Call (syntax-propertize (point-max)) instead.

Further, this call should probably be in the code that relies on the 
added text properties, not in the test.

Adjust the actual argument as appropriate: most of the time you only 
need the current buffer propertized until the current position, not 
necessarily until the end (which might take more time).