Function: nxml-get-inside

nxml-get-inside is a byte-compiled function defined in nxml-rap.el.gz.

Signature

(nxml-get-inside POS)

Documentation

Return non-nil if inside comment, CDATA, or PI.

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/nxml-rap.el.gz
(defsubst nxml-get-inside (pos)
  "Return non-nil if inside comment, CDATA, or PI."
  (let ((ppss (save-excursion (syntax-ppss pos))))
    (or
     ;; Inside comment.
     (nth 4 ppss)
     ;; Inside "generic" string which is used for CDATA, and PI.
     ;; "Normal" double and single quoted strings are used for
     ;; attribute values.
     (eq t (nth 3 ppss)))))