c-file-offsets

c-file-offsets is a variable defined in `cc-vars.el'.
Its value is
nil

  • Automatically becomes buffer-local when set.

Documentation:
Variable interface for setting offsets via File Local Variables.
In a file's Local Variable section, you can set this variable to an
association list similar to the values allowed in `c-offsets-alist'.
When the file is visited, CC Mode will institute these offset settings
automatically.

Note that file offset settings are applied after file style settings
as designated in the variable `c-file-style'.