Variable: c-syntactic-indentation
c-syntactic-indentation is a customizable and buffer-local variable
defined in cc-vars.el.gz.
Documentation
Whether the indentation should be controlled by the syntactic context.
If t, the indentation functions indent according to the syntactic
context, using the style settings specified by c-offsets-alist.
If nil, every line is just indented to the same level as the previous
one, and the M-x c-indent-command (c-indent-command) command adjusts the indentation in
steps specified by c-basic-offset. The indentation style has no
effect in this mode, nor any of the indentation associated variables,
e.g. c-special-indent-hook.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-vars.el.gz
(defcustom c-syntactic-indentation t
"Whether the indentation should be controlled by the syntactic context.
If t, the indentation functions indent according to the syntactic
context, using the style settings specified by `c-offsets-alist'.
If nil, every line is just indented to the same level as the previous
one, and the \\[c-indent-command] command adjusts the indentation in
steps specified by `c-basic-offset'. The indentation style has no
effect in this mode, nor any of the indentation associated variables,
e.g. `c-special-indent-hook'."
:type 'boolean
:group 'c)