Function: nxml-inside-end
nxml-inside-end is a byte-compiled function defined in nxml-rap.el.gz.
Signature
(nxml-inside-end POS)
Documentation
Return the end of the inside region containing POS.
Return nil if the character at POS is not inside.
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/nxml-rap.el.gz
(defun nxml-inside-end (pos)
"Return the end of the inside region containing POS.
Return nil if the character at POS is not inside."
(save-excursion
(let ((ppss (syntax-ppss pos)))
(when (nth 8 ppss)
(goto-char (nth 8 ppss))
(with-syntax-table sgml-tag-syntax-table
(if (nth 3 ppss)
(progn (forward-comment 1) (point))
(or (scan-sexps (point) 1) (point-max))))))))