|
| From: | Dmitry Gutov |
| Subject: | Re: rust-ts-mode: appropriately fontify doc strings |
| Date: | Fri, 1 Dec 2023 02:50:44 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 30/11/2023 01:21, Christophe TROESTLER wrote:
+ (prefix (buffer-substring-no-properties beg (min (+ beg 3) end))) + (face (if (string-equal "///" prefix)
It'll probably be faster overall to use save-excursion and looking-at instead of creating a substring.
| [Prev in Thread] | Current Thread | [Next in Thread] |