Function: c-is-escaped

c-is-escaped is a macro defined in cc-defs.el.gz.

Signature

(c-is-escaped POS)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
(defvar lookup-syntax-properties)       ;XEmacs.

(defmacro c-is-escaped (pos)
  ;; Is the character following POS escaped?
  (declare (debug t))
  `(save-excursion
     (goto-char ,pos)
     (if (and c-escaped-newline-takes-precedence
	      (memq (char-after) '(?\n ?\r)))
	 (eq (char-before) ?\\)
       (not (zerop (logand (skip-chars-backward "\\\\") 1))))))