1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
emacs/lisp/nxml
Konstantin Kharlamov 9eea6be5ab Don't produce invalid XML with multi-line commenting style
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)
2024-07-25 10:48:03 +02:00
..
nxml-enc.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nxml-maint.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nxml-mode.el Don't produce invalid XML with multi-line commenting style 2024-07-25 10:48:03 +02:00
nxml-ns.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nxml-outln.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nxml-parse.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nxml-rap.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
nxml-util.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-cmpct.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-dt.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-loc.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-maint.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-match.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-nxml.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-parse.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-pttrn.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-uri.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-util.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
rng-valid.el (rng-do-some-validation): Fix dangerous use of with-silent-modifications 2024-06-10 10:43:14 -04:00
rng-xsd.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
xmltok.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
xsd-regexp.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00