diff options
| author | Alan Mackenzie | 2019-03-08 18:07:48 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2019-03-08 18:11:21 +0000 |
| commit | a38da0d4e532c7a8ce8f20ee5e95a50fce162469 (patch) | |
| tree | ebbf26daf47ee185726f5494a46645ab7537d000 | |
| parent | 464ee80eac364e5febca88a7ded46cdd9c3a4f10 (diff) | |
| download | emacs-a38da0d4e532c7a8ce8f20ee5e95a50fce162469.tar.gz emacs-a38da0d4e532c7a8ce8f20ee5e95a50fce162469.zip | |
cc-mode.texi: Work around makeinfo alignment bug. Fix problem with ss index
* doc/misc/cc-mode.texi (top level): Using txicommandconditionals to
differentiate between the C and perl versions of Texinfo, create an "ss
index" unless we are both using the C Texinfo and are building the .dvi output
format.
(Config Basics): Work around a perl Texinfo alignment bug by writing a
separate version of an item list structure for this version, simplifying it
considerably.
| -rw-r--r-- | doc/misc/cc-mode.texi | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 47ae83ab396..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: |