|
From: | Stefan Monnier |
Subject: | Re: Help Understanding syntax-propertize-function |
Date: | Wed, 24 Mar 2021 18:10:20 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> There's the prog1 form at the end of hcl--font-lock-open-heredoc: > > ... > (prog1 (string-to-syntax "|") > (goto-char (+ 2 start)))))) Indeed, there is, but I don't know what worries you bout it. > It looks like it's meant to be a special "(prog1 EXP . EXPS)" form for > syntax-propertize-rules. I don't think so. > I wonder - how could that work? Does syntax-propertize-rules inspect > the SYNTAX expression to check for suchlike forms? No it doesn't. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |