|
From: | Dmitry Gutov |
Subject: | Re: font-lock-syntactic-keywords obsolet? |
Date: | Sun, 19 Jun 2016 18:53:25 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 |
On 06/19/2016 06:26 PM, Alan Mackenzie wrote:
font-lock-syntactic-keywords can be a good solution if the syntax-table properties are only needed for fontification, which isn't the case in CC Mode (and hasn't been the case since (at least) syntax-table properties started being applied to C++ template delimiters).
I don't know of many (any?) modes where that would be the case. Maybe the most trivial ones, but it's better not to optimize for those.
[Prev in Thread] | Current Thread | [Next in Thread] |