diff options
Diffstat (limited to 'doc/misc/cc-mode.texi')
| -rw-r--r-- | doc/misc/cc-mode.texi | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 1a77a64e01c..0c77cc0ee61 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi | |||
| @@ -148,7 +148,17 @@ CC Mode | |||
| 148 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 148 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 149 | 149 | ||
| 150 | @comment Define an index for syntactic symbols. | 150 | @comment Define an index for syntactic symbols. |
| 151 | @c Version for Texinfo <= 4.x | ||
| 152 | @ifclear txicommandconditionals | ||
| 153 | @ifnottex @c In texi2dvi, the @defindex would create an empty cc-mode.ss | ||
| 154 | @c For Info, unlike tex, @syncodeindex needs a matching @defindex. | ||
| 151 | @defindex ss | 155 | @defindex ss |
| 156 | @end ifnottex | ||
| 157 | @end ifclear | ||
| 158 | @c Version for Texinfo >= 5.x | ||
| 159 | @ifset txicommandconditionals | ||
| 160 | @defindex ss | ||
| 161 | @end ifset | ||
| 152 | 162 | ||
| 153 | @comment Combine key, syntactic symbol and concept indices into one. | 163 | @comment Combine key, syntactic symbol and concept indices into one. |
| 154 | @syncodeindex ss cp | 164 | @syncodeindex ss cp |
| @@ -2282,6 +2292,8 @@ method, ``Top-level commands or the customization interface''. | |||
| 2282 | 2292 | ||
| 2283 | If you make conflicting settings in several of these ways, the way | 2293 | If you make conflicting settings in several of these ways, the way |
| 2284 | that takes precedence is the one that appears latest in this list: | 2294 | that takes precedence is the one that appears latest in this list: |
| 2295 | @c Version of list for Texinfo <= 4.x | ||
| 2296 | @ifclear txicommandconditionals | ||
| 2285 | @itemize @w{} | 2297 | @itemize @w{} |
| 2286 | @item | 2298 | @item |
| 2287 | @table @asis | 2299 | @table @asis |
| @@ -2292,6 +2304,18 @@ that takes precedence is the one that appears latest in this list: | |||
| 2292 | @itemx File Local Variable setting | 2304 | @itemx File Local Variable setting |
| 2293 | @end table | 2305 | @end table |
| 2294 | @end itemize | 2306 | @end itemize |
| 2307 | @end ifclear | ||
| 2308 | @c Version of list for Texinfo >= 5.x | ||
| 2309 | @ifset txicommandconditionals | ||
| 2310 | @itemize @asis | ||
| 2311 | @item Style | ||
| 2312 | @item File Style@footnote{In earlier versions of @ccmode{}, a File Style setting took precedence over any other setting apart from a File Local Variable setting.} | ||
| 2313 | @item Top-level command or ``customization interface'' | ||
| 2314 | @item Hook | ||
| 2315 | @item File Local Variable setting | ||
| 2316 | @end itemize | ||
| 2317 | @end ifset | ||
| 2318 | |||
| 2295 | 2319 | ||
| 2296 | Here is a summary of the different ways of writing your configuration | 2320 | Here is a summary of the different ways of writing your configuration |
| 2297 | settings: | 2321 | settings: |
| @@ -2548,7 +2572,7 @@ Basics}). | |||
| 2548 | @item | 2572 | @item |
| 2549 | The style variable @code{c-offsets-alist} (@pxref{c-offsets-alist}) is | 2573 | The style variable @code{c-offsets-alist} (@pxref{c-offsets-alist}) is |
| 2550 | an association list with an element for each syntactic symbol. It's | 2574 | an association list with an element for each syntactic symbol. It's |
| 2551 | handled a little differently from the other style variables. It's | 2575 | handled a little differently from the other style variables. Its |
| 2552 | default global binding is the empty list @code{nil}, rather than | 2576 | default global binding is the empty list @code{nil}, rather than |
| 2553 | @code{set-from-style}. Before the style system is initialized, you | 2577 | @code{set-from-style}. Before the style system is initialized, you |
| 2554 | can add individual elements to @code{c-offsets-alist} by calling | 2578 | can add individual elements to @code{c-offsets-alist} by calling |
| @@ -5286,7 +5310,7 @@ The simplest and most used kind of ``offset'' setting in | |||
| 5286 | @defopt c-basic-offset | 5310 | @defopt c-basic-offset |
| 5287 | @vindex basic-offset @r{(c-)} | 5311 | @vindex basic-offset @r{(c-)} |
| 5288 | This style variable holds the basic offset between indentation levels. | 5312 | This style variable holds the basic offset between indentation levels. |
| 5289 | It's factory default is 4, but all the built-in styles set it | 5313 | Its factory default is 4, but all the built-in styles set it |
| 5290 | themselves, to some value between 2 (for @code{gnu} style) and 8 (for | 5314 | themselves, to some value between 2 (for @code{gnu} style) and 8 (for |
| 5291 | @code{bsd}, @code{linux}, and @code{python} styles). | 5315 | @code{bsd}, @code{linux}, and @code{python} styles). |
| 5292 | @end defopt | 5316 | @end defopt |