|
From: | Dmitry Gutov |
Subject: | Re: font lock with functions |
Date: | Tue, 31 Mar 2020 17:25:41 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 31.03.2020 16:20, Stefan Monnier wrote:
(while ... (put-text-property x y 'face 'foobar-face) ...) ;; Return nil if you don't want font-lock to call you again right away ;; to "look for the next match".
I was going to suggesting this myself, but isn't this approach even more of a hack (i.e. undocumented feature)?
[Prev in Thread] | Current Thread | [Next in Thread] |