878 |
:group 'c) |
:group 'c) |
879 |
|
|
880 |
(defcustom-c-stylevar c-label-minimum-indentation 1 |
(defcustom-c-stylevar c-label-minimum-indentation 1 |
881 |
"*Minimum indentation for lines inside of top-level constructs. |
"*Minimum indentation for lines inside code blocks. |
882 |
This variable typically only affects code using the `gnu' style, which |
This variable typically only affects code using the `gnu' style, which |
883 |
mandates a minimum of one space in front of every line inside |
mandates a minimum of one space in front of every line inside code |
884 |
top-level constructs. Specifically, the function |
blocks. Specifically, the function `c-gnu-impose-minimum' on your |
885 |
`c-gnu-impose-minimum' on your `c-special-indent-hook' is what |
`c-special-indent-hook' is what enforces this." |
|
enforces this." |
|
886 |
:type 'integer |
:type 'integer |
887 |
:group 'c) |
:group 'c) |
888 |
|
|
1270 |
(get 'c-offsets-alist 'c-stylevar-fallback))) |
(get 'c-offsets-alist 'c-stylevar-fallback))) |
1271 |
:group 'c) |
:group 'c) |
1272 |
|
|
1273 |
|
;; The syntactic symbols that can occur inside code blocks. Used by |
1274 |
|
;; `c-gnu-impose-minimum'. |
1275 |
|
(defconst c-inside-block-syms |
1276 |
|
'(defun-block-intro block-open block-close statement statement-cont |
1277 |
|
statement-block-intro statement-case-intro statement-case-open |
1278 |
|
substatement substatement-open substatement-label case-label label |
1279 |
|
do-while-closure else-clause catch-clause inlambda)) |
1280 |
|
|
1281 |
(defcustom c-style-variables-are-local-p t |
(defcustom c-style-variables-are-local-p t |
1282 |
"*Whether style variables should be buffer local by default. |
"*Whether style variables should be buffer local by default. |
1283 |
If non-nil, then all indentation style related variables will be made |
If non-nil, then all indentation style related variables will be made |
1582 |
'1-bit) |
'1-bit) |
1583 |
list))) |
list))) |
1584 |
|
|
1585 |
(let ((buf (generate-new-buffer "test")) |
(let ((buf (generate-new-buffer " test")) |
1586 |
parse-sexp-lookup-properties |
parse-sexp-lookup-properties |
1587 |
parse-sexp-ignore-comments |
parse-sexp-ignore-comments |
1588 |
lookup-syntax-properties) |
lookup-syntax-properties) |