Function: TeX-escaped-p

TeX-escaped-p is a byte-compiled function defined in tex.el.

Signature

(TeX-escaped-p &optional POS)

Documentation

Return t if the character at position POS is escaped.

If POS is omitted, examine the character at point. A character is escaped if it is preceded by an odd number of escape characters, such as "\\" in LaTeX.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-escaped-p (&optional pos)
  "Return t if the character at position POS is escaped.
If POS is omitted, examine the character at point.
A character is escaped if it is preceded by an odd number of
escape characters, such as \"\\\" in LaTeX."
  (save-excursion
    (when pos (goto-char pos))
    (not (zerop (mod (skip-chars-backward (regexp-quote TeX-esc)) 2)))))