[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Added alias for removed font-lock function
From: |
Benson Chu |
Subject: |
Re: [PATCH] Added alias for removed font-lock function |
Date: |
Sat, 31 Dec 2022 22:57:34 -0600 |
User-agent: |
Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 |
Er, I mean this.
Thanks!
Benson
On Sat, Dec 31, 2022, at 10:53 PM, Benson Chu wrote:
> Something like this?
>
> Thanks!
> Benson
>
> On Thu, Dec 22, 2022, at 8:49 AM, Stefan Monnier wrote:
>>> +(define-obsolete-function-alias 'font-lock-fontify-syntactically-region
>>> #'font-lock-default-fontify-syntactically "29.1")
>>
>>
>> Indeed, tho, could you try and fit this within 80 columns?
>> Also, I think the better replacement for the old
>> `font-lock-fontify-syntactically-region` could be
>> (funcall font-lock-fontify-syntactically-function BEG END), which by
>> default will end up calling `font-lock-default-fontify-syntactically`.
>>
>>
>> Stefan
> Attachments:
> * 0001-Added-back-renamed-function-font-lock-fontify-syntac.patch
0001-Added-back-renamed-function-font-lock-fontify-syntac.patch
Description: Text Data