Function: c-langelem-pos

c-langelem-pos is a byte-compiled function defined in cc-defs.el.gz.

Signature

(c-langelem-pos LANGELEM)

Documentation

Return the anchor position in LANGELEM, or nil if there is none.

LANGELEM is either a cons cell on the "old" form given as the first argument to lineup functions or a syntactic element on the "new" form as used in c-syntactic-element.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
(defsubst c-langelem-pos (langelem)
  "Return the anchor position in LANGELEM, or nil if there is none.

LANGELEM is either a cons cell on the \"old\" form given as the first
argument to lineup functions or a syntactic element on the \"new\"
form as used in `c-syntactic-element'."
  (if (consp (cdr langelem))
      (car-safe (cdr langelem))
    (cdr langelem)))