Function: nxml-balanced-close-start-tag-block
nxml-balanced-close-start-tag-block is an interactive and
byte-compiled function defined in nxml-mode.el.gz.
Signature
(nxml-balanced-close-start-tag-block)
Documentation
Close the start-tag before point with > and insert a balancing end-tag.
Point is left between the start-tag and the end-tag.
If there is nothing but whitespace before the < that opens the
start-tag, then put point on a blank line, and put the end-tag on
another line aligned with the start-tag.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/nxml-mode.el.gz
(defun nxml-balanced-close-start-tag-block ()
"Close the start-tag before point with `>' and insert a balancing end-tag.
Point is left between the start-tag and the end-tag.
If there is nothing but whitespace before the `<' that opens the
start-tag, then put point on a blank line, and put the end-tag on
another line aligned with the start-tag."
(interactive "*")
(nxml-balanced-close-start-tag 'block))