Function: nxml-comment-quote-nested
nxml-comment-quote-nested is a byte-compiled function defined in
nxml-mode.el.gz.
Signature
(nxml-comment-quote-nested CS CE UNP)
Documentation
Quote nested comments in buffer.
See comment-quote-nested-function for more information.
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/nxml-mode.el.gz
(defun nxml-comment-quote-nested (_cs _ce unp)
"Quote nested comments in buffer.
See `comment-quote-nested-function' for more information."
(goto-char (point-min))
(save-match-data
(while (re-search-forward "-[\\]*-" nil t)
(goto-char (match-beginning 0))
(forward-char 1)
(if unp
(delete-char 1)
(insert "\\")))))