Variable: c-style-variables-are-local-p
c-style-variables-are-local-p is a customizable variable defined in
cc-vars.el.gz.
Value
t
Documentation
Whether style variables should be buffer local by default.
If non-nil, then all indentation style related variables will be made buffer local by default. If nil, they will remain global. Variables are made buffer local when this file is loaded, and once buffer localized, they cannot be made global again.
This variable must be set appropriately before CC Mode is loaded.
The list of variables to buffer localize are:
c-basic-offset
c-comment-only-line-offset
c-indent-comment-alist
c-indent-comments-syntactically-p
c-block-comment-prefix
c-comment-prefix-regexp
c-doc-comment-style
c-cleanup-list
c-hanging-braces-alist
c-hanging-colons-alist
c-hanging-semi&comma-criteria
c-backslash-column
c-backslash-max-column
c-label-minimum-indentation
c-offsets-alist
c-special-indent-hook
c-indentation-style
Probably introduced at or before Emacs version 20.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-vars.el.gz
(defcustom c-style-variables-are-local-p t
"Whether style variables should be buffer local by default.
If non-nil, then all indentation style related variables will be made
buffer local by default. If nil, they will remain global. Variables
are made buffer local when this file is loaded, and once buffer
localized, they cannot be made global again.
This variable must be set appropriately before CC Mode is loaded.
The list of variables to buffer localize are:
`c-basic-offset'
`c-comment-only-line-offset'
`c-indent-comment-alist'
`c-indent-comments-syntactically-p'
`c-block-comment-prefix'
`c-comment-prefix-regexp'
`c-doc-comment-style'
`c-cleanup-list'
`c-hanging-braces-alist'
`c-hanging-colons-alist'
`c-hanging-semi&comma-criteria'
`c-backslash-column'
`c-backslash-max-column'
`c-label-minimum-indentation'
`c-offsets-alist'
`c-special-indent-hook'
`c-indentation-style'"
:type 'boolean
:safe 'booleanp
:group 'c)