Subject: bug#36227: 26.1; sgml-mode indents as comment inside of -- text blocks

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 01 Feb 2021 10:42:52 +0100

Noam Postavsky <[email-masked]> writes:

> So I think there should be a sgml-mode specific
> comment-line-break-function, which checks whether it's in a comment or
> not (presumably using syntax-ppss).

I've now done this in Emacs 28, and it seems to work correctly in the
scenario described.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no