emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 17a950c: Fix comment end delimiter fontification in OPascal m


From: Stefan Monnier
Subject: Re: master 17a950c: Fix comment end delimiter fontification in OPascal mode
Date: Wed, 12 May 2021 10:07:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen [2021-05-12 15:54:21] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I suspect you need to set `font-lock-comment-end-skip`, tho I think the
>> real problem is that `font-lock.el` should use `comment-end-skip` rather
>> than `comment-end` as a fallback for `font-lock-comment-end-skip`.
>> So I pushed the patch below.
>
> Great!
>
> Should something similar be done to pascal.el, which has:
>
>   (setq-local comment-start "{")
>   (setq-local comment-start-skip "(\\*+ *\\|{ *")
>   (setq-local comment-end "}")

It should probably set `comment-end-skip`, yes.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]