Function: nxml-outline-display-multi-line-end-tag
nxml-outline-display-multi-line-end-tag is a byte-compiled function
defined in nxml-outln.el.gz.
Signature
(nxml-outline-display-multi-line-end-tag LAST-POS START-TAG-INDENT)
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/nxml-outln.el.gz
(defun nxml-outline-display-multi-line-end-tag (last-pos start-tag-indent)
(let ((indentp (save-excursion
(goto-char last-pos)
(skip-chars-forward " \t")
(and (eq (char-after) ?\n)
(progn
(goto-char (1+ (point)))
(nxml-outline-set-overlay nil last-pos (point))
(setq last-pos (point))
(goto-char xmltok-start)
(beginning-of-line)
t))))
end-tag-overlay)
(nxml-outline-set-overlay 'nxml-outline-display-hide
last-pos
xmltok-start
nil
t)
(setq end-tag-overlay
(nxml-outline-set-overlay 'nxml-outline-display-showing-tag
xmltok-start
(point)
t))
(overlay-put end-tag-overlay
'display
(concat (if indentp
(make-string start-tag-indent ?\ )
"")
nxml-highlighted-less-than
nxml-highlighted-slash
nxml-highlighted-active-minus
(nxml-highlighted-qname (xmltok-end-tag-qname))
nxml-highlighted-greater-than))))