mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
9eea6be5ab
Both XML and HTML forbid double hyphens inside comments. However, nxml-mode was using a `!--' as a comment padding if `comment-style' was set to any of the styles that supposed to add padding. This infix was auto-derived due to `comment-continue' being nil. To fix that set `comment-continue' explicitly. It's unclear what padding should be used, but from looking at other editors it seems they don't typically add padding in XML, so let's be simple for now and just set `comment-continue' to empty string. * lisp/nxml/nxml-mode.el (nxml-mode): Make 'comment-continue' a buffer-local variable set to the empty string. (Bug#71772) |
||
---|---|---|
.. | ||
nxml-enc.el | ||
nxml-maint.el | ||
nxml-mode.el | ||
nxml-ns.el | ||
nxml-outln.el | ||
nxml-parse.el | ||
nxml-rap.el | ||
nxml-util.el | ||
rng-cmpct.el | ||
rng-dt.el | ||
rng-loc.el | ||
rng-maint.el | ||
rng-match.el | ||
rng-nxml.el | ||
rng-parse.el | ||
rng-pttrn.el | ||
rng-uri.el | ||
rng-util.el | ||
rng-valid.el | ||
rng-xsd.el | ||
xmltok.el | ||
xsd-regexp.el |