Tim Landscheidt <[email protected]> writes: > David Bremner <[email protected]> wrote: > >> […] > >> I tried the obvious-to-me fix of anchoring the regex comment-start-skip, >> but it didn't work (like so many obvious things ;)). If anybody has a >> better understanding of comments and font-lock, suggestions welcome. > > AFAIU https://stackoverflow.com/questions/25245469 and > others, changing comment-start-skip is not enough. Instead, > one must define one's own syntax-propertize-function > (cf. perl-syntax-propertize-function & Co.).
Thanks Tim! That was the clue I needed. d

