|
From: | Dmitry Gutov |
Subject: | bug#20911: 24.5.3; Syntax should not require font-lock |
Date: | Sat, 27 Jun 2015 19:37:41 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 |
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).
[Prev in Thread] | Current Thread | [Next in Thread] |