Variable: c-buffer-is-cc-mode
c-buffer-is-cc-mode is a buffer-local variable defined in
cc-defs.el.gz.
Documentation
Non-nil for all buffers with a major mode derived from CC Mode.
Otherwise, this variable is nil. I.e. this variable is non-nil for
c-mode, c++-mode, objc-mode, java-mode, idl-mode,
pike-mode, awk-mode, and any other non-CC Mode mode that calls
c-initialize-cc-mode. The value is the mode symbol itself
(i.e. c-mode etc) of the original CC Mode mode, or just t if it's
not known.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
;; A little more compact and faster in comparisons.
(defvar c-buffer-is-cc-mode nil
"Non-nil for all buffers with a major mode derived from CC Mode.
Otherwise, this variable is nil. I.e. this variable is non-nil for
`c-mode', `c++-mode', `objc-mode', `java-mode', `idl-mode',
`pike-mode', `awk-mode', and any other non-CC Mode mode that calls
`c-initialize-cc-mode'. The value is the mode symbol itself
\(i.e. `c-mode' etc) of the original CC Mode mode, or just t if it's
not known.")