[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 17a950c: Fix comment end delimiter fontification in OPascal m
From: |
Lars Ingebrigtsen |
Subject: |
Re: master 17a950c: Fix comment end delimiter fontification in OPascal mode |
Date: |
Wed, 12 May 2021 15:54:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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 "}")
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no