diff options
| author | Miles Bader | 2007-12-28 22:26:14 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-12-28 22:26:14 +0000 |
| commit | b17f53abc28496125965f36147b76ea5f6a2b4fb (patch) | |
| tree | 4293e53692f304327ba689dfeea32d1b0b5bc12a /doc | |
| parent | 2e5093251c8e63f4546ffc30182dd4015e9a58fd (diff) | |
| parent | ea7ac2eb953bf3c30670e60cb00a9fca611b38b7 (diff) | |
| download | emacs-b17f53abc28496125965f36147b76ea5f6a2b4fb.tar.gz emacs-b17f53abc28496125965f36147b76ea5f6a2b4fb.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 21 | ||||
| -rw-r--r-- | doc/emacs/files.texi | 9 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 9 | ||||
| -rw-r--r-- | doc/emacs/text.texi | 75 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 11 | ||||
| -rw-r--r-- | doc/lispref/customize.texi | 48 | ||||
| -rw-r--r-- | doc/lispref/frames.texi | 24 | ||||
| -rw-r--r-- | doc/misc/cc-mode.texi | 4 |
8 files changed, 132 insertions, 69 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 9c4d874e139..e950d152a80 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2007-12-27 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * text.texi (Formatted Text): Improve menu tag. | ||
| 4 | (Editing Format Info): In Info, add duplicate menu of nodes | ||
| 5 | about the submenus. | ||
| 6 | (Format Faces): Say where Faces menu is found. Mention Other. | ||
| 7 | (Format Colors): Say where these submenus are found. | ||
| 8 | (Format Indentation, Format Justification): Likewise. | ||
| 9 | (Format Properties): Likewise. | ||
| 10 | |||
| 11 | 2007-12-22 Richard Stallman <rms@gnu.org> | ||
| 12 | |||
| 13 | * search.texi (Query Replace): Make exp of query-replace more | ||
| 14 | self-contained, and clarify. | ||
| 15 | |||
| 16 | * cc-mode.texi (Getting Started): Change @ref to @pxref. | ||
| 17 | |||
| 18 | 2007-12-15 Richard Stallman <rms@gnu.org> | ||
| 19 | |||
| 20 | * files.texi (Auto Save): Clarify definition of auto-saving. | ||
| 21 | |||
| 1 | 2007-11-26 Richard Stallman <rms@gnu.org> | 22 | 2007-11-26 Richard Stallman <rms@gnu.org> |
| 2 | 23 | ||
| 3 | * help.texi (Help Echo): Cleanups. | 24 | * help.texi (Help Echo): Cleanups. |
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 8e2cb879754..8e33dc5aa8c 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -997,10 +997,11 @@ visit files under version control. | |||
| 997 | @cindex mode, Auto Save | 997 | @cindex mode, Auto Save |
| 998 | @cindex crashes | 998 | @cindex crashes |
| 999 | 999 | ||
| 1000 | Emacs saves all the visited files from time to time (based on counting | 1000 | Emacs saves all the visited files from time to time (based on |
| 1001 | your keystrokes) without being asked. This is called @dfn{auto-saving}. | 1001 | counting your keystrokes) without being asked, in separate files so as |
| 1002 | It prevents you from losing more than a limited amount of work if the | 1002 | not to alter the files you actually use. This is called |
| 1003 | system crashes. | 1003 | @dfn{auto-saving}. It prevents you from losing more than a limited |
| 1004 | amount of work if the system crashes. | ||
| 1004 | 1005 | ||
| 1005 | When Emacs determines that it is time for auto-saving, it considers | 1006 | When Emacs determines that it is time for auto-saving, it considers |
| 1006 | each buffer, and each is auto-saved if auto-saving is enabled for it | 1007 | each buffer, and each is auto-saved if auto-saving is enabled for it |
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index af1b877e6a4..7b77046e2f3 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -1152,13 +1152,12 @@ Replace some matches for @var{regexp} with @var{newstring}. | |||
| 1152 | @kindex M-% | 1152 | @kindex M-% |
| 1153 | @findex query-replace | 1153 | @findex query-replace |
| 1154 | If you want to change only some of the occurrences of @samp{foo} to | 1154 | If you want to change only some of the occurrences of @samp{foo} to |
| 1155 | @samp{bar}, not all of them, then you cannot use an ordinary | 1155 | @samp{bar}, not all of them, use @kbd{M-%} (@code{query-replace}). |
| 1156 | @code{replace-string}. Instead, use @kbd{M-%} (@code{query-replace}). | ||
| 1157 | This command finds occurrences of @samp{foo} one by one, displays each | 1156 | This command finds occurrences of @samp{foo} one by one, displays each |
| 1158 | occurrence and asks you whether to replace it. Aside from querying, | 1157 | occurrence and asks you whether to replace it. Aside from querying, |
| 1159 | @code{query-replace} works just like @code{replace-string}. It | 1158 | @code{query-replace} works just like @code{replace-string} |
| 1160 | preserves case, like @code{replace-string}, provided | 1159 | (@pxref{Unconditional Replace}). In particular, it preserves case |
| 1161 | @code{case-replace} is non-@code{nil}, as it normally is | 1160 | provided @code{case-replace} is non-@code{nil}, as it normally is |
| 1162 | (@pxref{Replacement and Case}). A numeric argument means consider | 1161 | (@pxref{Replacement and Case}). A numeric argument means consider |
| 1163 | only occurrences that are bounded by word-delimiter characters. | 1162 | only occurrences that are bounded by word-delimiter characters. |
| 1164 | 1163 | ||
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index c151c75e8bb..4b3bc8df0f0 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -1951,7 +1951,7 @@ contains a list of ideas for future enhancements. | |||
| 1951 | * Justification: Format Justification. | 1951 | * Justification: Format Justification. |
| 1952 | Centering, setting text flush with the | 1952 | Centering, setting text flush with the |
| 1953 | left or right margin, etc. | 1953 | left or right margin, etc. |
| 1954 | * Other: Format Properties. The "special" text properties submenu. | 1954 | * Special: Format Properties. The "special" text properties submenu. |
| 1955 | * Forcing Enriched Mode:: How to force use of Enriched mode. | 1955 | * Forcing Enriched Mode:: How to force use of Enriched mode. |
| 1956 | @end menu | 1956 | @end menu |
| 1957 | 1957 | ||
| @@ -2037,9 +2037,7 @@ or with @kbd{C-Mouse-2} (hold the @key{CTRL} key and press the middle | |||
| 2037 | mouse button). There are also keyboard commands described in the | 2037 | mouse button). There are also keyboard commands described in the |
| 2038 | following section. | 2038 | following section. |
| 2039 | 2039 | ||
| 2040 | Most of the items in the Text Properties menu lead to other submenus. | 2040 | These items in the Text Properties menu run commands directly: |
| 2041 | These are described in the sections that follow. Some items run | ||
| 2042 | commands directly: | ||
| 2043 | 2041 | ||
| 2044 | @table @code | 2042 | @table @code |
| 2045 | @findex facemenu-remove-face-props | 2043 | @findex facemenu-remove-face-props |
| @@ -2068,14 +2066,35 @@ Display a list of all the defined faces (@code{list-faces-display}). | |||
| 2068 | Display a list of all the defined colors (@code{list-colors-display}). | 2066 | Display a list of all the defined colors (@code{list-colors-display}). |
| 2069 | @end table | 2067 | @end table |
| 2070 | 2068 | ||
| 2069 | @ifinfo | ||
| 2070 | Other items in the Text Properties menu lead to submenus: | ||
| 2071 | |||
| 2072 | @menu | ||
| 2073 | * Faces: Format Faces. Bold, italic, underline, etc. | ||
| 2074 | * Color: Format Colors. Changing the color of text. | ||
| 2075 | * Indent: Format Indentation. Changing the left and right margins. | ||
| 2076 | * Justification: Format Justification. | ||
| 2077 | Centering, setting text flush with the | ||
| 2078 | left or right margin, etc. | ||
| 2079 | * Special: Format Properties. The "special" text properties submenu. | ||
| 2080 | @end menu | ||
| 2081 | @end ifinfo | ||
| 2082 | @ifnotinfo | ||
| 2083 | The rest lead to submenus which are described in the following sections. | ||
| 2084 | @end ifnotinfo | ||
| 2085 | |||
| 2071 | @node Format Faces | 2086 | @node Format Faces |
| 2072 | @subsection Faces in Formatted Text | 2087 | @subsection Faces in Formatted Text |
| 2073 | 2088 | ||
| 2074 | The Faces submenu lists various Emacs faces including @code{bold}, | 2089 | The Faces submenu under Text Properties lists various Emacs faces |
| 2075 | @code{italic}, and @code{underline} (@pxref{Faces}). These menu items | 2090 | including @code{bold}, @code{italic}, and @code{underline} |
| 2076 | operate on the region if it is active and nonempty. Otherwise, they | 2091 | (@pxref{Faces}). These menu items operate on the region if it is |
| 2077 | specify to use that face for an immediately following self-inserting | 2092 | active and nonempty. Otherwise, they specify to use that face for an |
| 2078 | character. Instead of the menu, you can use these keyboard commands: | 2093 | immediately following self-inserting character. There is also an item |
| 2094 | @samp{Other} with which you can enter a face name through the | ||
| 2095 | minibuffer (@pxref{Standard Faces}). | ||
| 2096 | |||
| 2097 | Instead of the Faces submenu, you can use these keyboard commands: | ||
| 2079 | 2098 | ||
| 2080 | @table @kbd | 2099 | @table @kbd |
| 2081 | @kindex M-o d @r{(Enriched mode)} | 2100 | @kindex M-o d @r{(Enriched mode)} |
| @@ -2158,20 +2177,22 @@ them. | |||
| 2158 | @subsection Colors in Formatted Text | 2177 | @subsection Colors in Formatted Text |
| 2159 | 2178 | ||
| 2160 | You can specify foreground and background colors for portions of the | 2179 | You can specify foreground and background colors for portions of the |
| 2161 | text. There is a menu for specifying the foreground color and a menu | 2180 | text. Under Text Properties there is a submenu for specifying the |
| 2162 | for specifying the background color. Each color menu lists all the | 2181 | foreground color, and a submenu for specifying the background color. |
| 2163 | colors that you have used in Enriched mode in the current Emacs session. | 2182 | Each one lists all the colors that you have used in Enriched mode in |
| 2183 | the current Emacs session. | ||
| 2164 | 2184 | ||
| 2165 | If you specify a color with a prefix argument---or, in Transient | 2185 | If you specify a color with a prefix argument---or, in Transient |
| 2166 | Mark mode, if the region is not active---then it applies to any | 2186 | Mark mode, if the region is not active---then it applies to any |
| 2167 | immediately following self-inserting input. Otherwise, the command | 2187 | immediately following self-inserting input. Otherwise, the command |
| 2168 | applies to the region. | 2188 | applies to the region. |
| 2169 | 2189 | ||
| 2170 | Each color menu contains one additional item: @samp{Other}. You can use | 2190 | Each of the two color submenus contains one additional item: |
| 2171 | this item to specify a color that is not listed in the menu; it reads | 2191 | @samp{Other}. You can use this item to specify a color that is not |
| 2172 | the color name with the minibuffer. To display a list of available colors | 2192 | listed in the menu; it reads the color name with the minibuffer. To |
| 2173 | and their names, use the @samp{Display Colors} menu item in the Text | 2193 | display a list of available colors and their names, use the |
| 2174 | Properties menu (@pxref{Editing Format Info}). | 2194 | @samp{Display Colors} menu item in the Text Properties menu |
| 2195 | (@pxref{Editing Format Info}). | ||
| 2175 | 2196 | ||
| 2176 | Any color that you specify in this way, or that is mentioned in a | 2197 | Any color that you specify in this way, or that is mentioned in a |
| 2177 | formatted text file that you read in, is added to the corresponding | 2198 | formatted text file that you read in, is added to the corresponding |
| @@ -2192,8 +2213,9 @@ indentation for the right or left margin of an entire paragraph or a | |||
| 2192 | part of a paragraph. The margins you specify automatically affect the | 2213 | part of a paragraph. The margins you specify automatically affect the |
| 2193 | Emacs fill commands (@pxref{Filling}) and line-breaking commands. | 2214 | Emacs fill commands (@pxref{Filling}) and line-breaking commands. |
| 2194 | 2215 | ||
| 2195 | The Indentation submenu provides a convenient interface for specifying | 2216 | The Indentation submenu of Text Properties provides a convenient |
| 2196 | these properties. The submenu contains four items: | 2217 | interface for specifying these properties. The submenu contains four |
| 2218 | items: | ||
| 2197 | 2219 | ||
| 2198 | @table @code | 2220 | @table @code |
| 2199 | @kindex C-x TAB @r{(Enriched mode)} | 2221 | @kindex C-x TAB @r{(Enriched mode)} |
| @@ -2266,8 +2288,8 @@ Prefix}. | |||
| 2266 | justification for a paragraph. The style you specify automatically | 2288 | justification for a paragraph. The style you specify automatically |
| 2267 | affects the Emacs fill commands. | 2289 | affects the Emacs fill commands. |
| 2268 | 2290 | ||
| 2269 | The Justification submenu provides a convenient interface for specifying | 2291 | The Justification submenu of Text Properties provides a convenient |
| 2270 | the style. The submenu contains five items: | 2292 | interface for specifying the style. The submenu contains five items: |
| 2271 | 2293 | ||
| 2272 | @table @code | 2294 | @table @code |
| 2273 | @item Left | 2295 | @item Left |
| @@ -2341,11 +2363,12 @@ sets (as always) the default value for buffers that do not override it. | |||
| 2341 | @node Format Properties | 2363 | @node Format Properties |
| 2342 | @subsection Setting Other Text Properties | 2364 | @subsection Setting Other Text Properties |
| 2343 | 2365 | ||
| 2344 | The Special Properties menu lets you add or remove three other useful text | 2366 | The Special Properties submenu of Text Properties can add or remove |
| 2345 | properties: @code{read-only}, @code{invisible} and @code{intangible}. | 2367 | three other useful text properties: @code{read-only}, @code{invisible} |
| 2346 | The @code{intangible} property disallows moving point within the text, | 2368 | and @code{intangible}. The @code{intangible} property disallows |
| 2347 | the @code{invisible} text property hides text from display, and the | 2369 | moving point within the text, the @code{invisible} text property hides |
| 2348 | @code{read-only} property disallows alteration of the text. | 2370 | text from display, and the @code{read-only} property disallows |
| 2371 | alteration of the text. | ||
| 2349 | 2372 | ||
| 2350 | Each of these special properties has a menu item to add it to the | 2373 | Each of these special properties has a menu item to add it to the |
| 2351 | region. The last menu item, @samp{Remove Special}, removes all of these | 2374 | region. The last menu item, @samp{Remove Special}, removes all of these |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index bfeb88f7830..50399b0120e 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2007-12-28 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * frames.texi (Size Parameters): Fix typo. | ||
| 4 | (Basic Parameters): For `title', refer to title bar. | ||
| 5 | (Size and Position): Explain meaning of frame pixel width and height. | ||
| 6 | |||
| 7 | 2007-12-23 Richard Stallman <rms@gnu.org> | ||
| 8 | |||
| 9 | * customize.texi (Type Keywords): Uncomment :validate and clarify it. | ||
| 10 | Improve some of the commented-out keywords' text too. | ||
| 11 | |||
| 1 | 2007-12-14 Martin Rudalics <rudalics@gmx.at> | 12 | 2007-12-14 Martin Rudalics <rudalics@gmx.at> |
| 2 | 13 | ||
| 3 | * nonascii.texi (Encoding and I/O): Reword to avoid saying | 14 | * nonascii.texi (Encoding and I/O): Reword to avoid saying |
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index b97ce20fc22..d971d5b6db2 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi | |||
| @@ -1121,6 +1121,16 @@ corresponding value, @var{function}, should be a function that accepts | |||
| 1121 | two arguments, a widget and a value; it should return non-@code{nil} if | 1121 | two arguments, a widget and a value; it should return non-@code{nil} if |
| 1122 | the value is acceptable. | 1122 | the value is acceptable. |
| 1123 | 1123 | ||
| 1124 | @item :validate @var{function} | ||
| 1125 | Specify a validation function for input. @var{function} takes a | ||
| 1126 | widget as an argument, and should return @code{nil} if the widget's | ||
| 1127 | current value is valid for the widget. Otherwise, it should return | ||
| 1128 | the widget containing the invalid data, and set that widget's | ||
| 1129 | @code{:error} property to a string explaining the error. | ||
| 1130 | |||
| 1131 | In many cases you can use the function @code{widget-children-validate} | ||
| 1132 | for this job; it tests that all children of @var{widget} are valid. | ||
| 1133 | |||
| 1124 | @ignore | 1134 | @ignore |
| 1125 | @item :indent @var{columns} | 1135 | @item :indent @var{columns} |
| 1126 | Indent this item by @var{columns} columns. The indentation is used for | 1136 | Indent this item by @var{columns} columns. The indentation is used for |
| @@ -1128,23 +1138,24 @@ Indent this item by @var{columns} columns. The indentation is used for | |||
| 1128 | buttons, and for editable lists. It affects the whole of the | 1138 | buttons, and for editable lists. It affects the whole of the |
| 1129 | item except for the first line. | 1139 | item except for the first line. |
| 1130 | 1140 | ||
| 1131 | @item :offset @var{columns} | 1141 | @item :offset @var{extra} |
| 1132 | An integer indicating how many extra spaces to indent the subitems of | 1142 | Indent the subitems of this item @var{extra} columns more than this |
| 1133 | this item. By default, subitems are indented the same as their parent. | 1143 | item itself. By default, subitems are indented the same as their |
| 1144 | parent. | ||
| 1134 | 1145 | ||
| 1135 | @item :extra-offset | 1146 | @item :extra-offset @var{n} |
| 1136 | An integer indicating how many extra spaces to add to this item's | 1147 | Add @var{n} extra spaces to this item's indentation, compared to its |
| 1137 | indentation, compared to its parent. | 1148 | parent's indentation. |
| 1138 | 1149 | ||
| 1139 | @item :notify | 1150 | @item :notify @var{function} |
| 1140 | A function called each time the item or a subitem is changed. The | 1151 | Call @var{function} each time the item or a subitem is changed. The |
| 1141 | function is called with two or three arguments. The first argument is | 1152 | function gets two or three arguments. The first argument is the item |
| 1142 | the item itself, the second argument is the item that was changed, and | 1153 | itself, the second argument is the item that was changed, and the |
| 1143 | the third argument is the event leading to the change, if any. | 1154 | third argument is the event leading to the change, if any. |
| 1144 | 1155 | ||
| 1145 | @item :menu-tag | 1156 | @item :menu-tag @var{tag-string} |
| 1146 | A tag used in the menu when the widget is used as an option in a | 1157 | Use @var{tag-string} in the menu when the widget is used as an option |
| 1147 | @code{menu-choice} widget. | 1158 | in a @code{menu-choice} widget. |
| 1148 | 1159 | ||
| 1149 | @item :menu-tag-get | 1160 | @item :menu-tag-get |
| 1150 | A function used for finding the tag when the widget is used as an option | 1161 | A function used for finding the tag when the widget is used as an option |
| @@ -1152,15 +1163,6 @@ in a @code{menu-choice} widget. By default, the tag used will be either the | |||
| 1152 | @code{:menu-tag} or @code{:tag} property if present, or the @code{princ} | 1163 | @code{:menu-tag} or @code{:tag} property if present, or the @code{princ} |
| 1153 | representation of the @code{:value} property if not. | 1164 | representation of the @code{:value} property if not. |
| 1154 | 1165 | ||
| 1155 | @item :validate | ||
| 1156 | A function which takes a widget as an argument, and return @code{nil} | ||
| 1157 | if the widget's current value is valid for the widget. Otherwise, it | ||
| 1158 | should return the widget containing the invalid data, and set that | ||
| 1159 | widget's @code{:error} property to a string explaining the error. | ||
| 1160 | |||
| 1161 | You can use the function @code{widget-children-validate} for this job; | ||
| 1162 | it tests that all children of @var{widget} are valid. | ||
| 1163 | |||
| 1164 | @item :tab-order | 1166 | @item :tab-order |
| 1165 | Specify the order in which widgets are traversed with | 1167 | Specify the order in which widgets are traversed with |
| 1166 | @code{widget-forward} or @code{widget-backward}. This is only partially | 1168 | @code{widget-forward} or @code{widget-backward}. This is only partially |
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index cd29d44ab76..ab9a6e8291c 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -362,12 +362,12 @@ in this frame. Its value is @code{color}, @code{grayscale} or | |||
| 362 | @code{mono}. | 362 | @code{mono}. |
| 363 | 363 | ||
| 364 | @item title | 364 | @item title |
| 365 | If a frame has a non-@code{nil} title, it appears in the window system's | 365 | If a frame has a non-@code{nil} title, it appears in the window |
| 366 | border for the frame, and also in the mode line of windows in that frame | 366 | system's title bar at the top of the frame, and also in the mode line |
| 367 | if @code{mode-line-frame-identification} uses @samp{%F} | 367 | of windows in that frame if @code{mode-line-frame-identification} uses |
| 368 | (@pxref{%-Constructs}). This is normally the case when Emacs is not | 368 | @samp{%F} (@pxref{%-Constructs}). This is normally the case when |
| 369 | using a window system, and can only display one frame at a time. | 369 | Emacs is not using a window system, and can only display one frame at |
| 370 | @xref{Frame Titles}. | 370 | a time. @xref{Frame Titles}. |
| 371 | 371 | ||
| 372 | @item name | 372 | @item name |
| 373 | The name of the frame. The frame name serves as a default for the frame | 373 | The name of the frame. The frame name serves as a default for the frame |
| @@ -463,7 +463,7 @@ The height of the frame contents, in characters. (To get the height in | |||
| 463 | pixels, call @code{frame-pixel-height}; see @ref{Size and Position}.) | 463 | pixels, call @code{frame-pixel-height}; see @ref{Size and Position}.) |
| 464 | 464 | ||
| 465 | @item width | 465 | @item width |
| 466 | The width of the frame contents, in characters. (To get the height in | 466 | The width of the frame contents, in characters. (To get the width in |
| 467 | pixels, call @code{frame-pixel-width}; see @ref{Size and Position}.) | 467 | pixels, call @code{frame-pixel-width}; see @ref{Size and Position}.) |
| 468 | 468 | ||
| 469 | @item user-size | 469 | @item user-size |
| @@ -808,8 +808,14 @@ of the frame is normally the same as the size of the terminal screen. | |||
| 808 | 808 | ||
| 809 | @defun frame-pixel-height &optional frame | 809 | @defun frame-pixel-height &optional frame |
| 810 | @defunx frame-pixel-width &optional frame | 810 | @defunx frame-pixel-width &optional frame |
| 811 | These functions return the height and width of @var{frame}, measured in | 811 | These functions return the height and width of the main display area |
| 812 | pixels. If you don't supply @var{frame}, they use the selected frame. | 812 | of @var{frame}, measured in pixels. If you don't supply @var{frame}, |
| 813 | they use the selected frame. | ||
| 814 | |||
| 815 | These values include the internal borders, and windows' scroll bars | ||
| 816 | and fringes (which belong to individual windows, not to the frame | ||
| 817 | itself), but do not include menu bars or tool bars (except when using | ||
| 818 | X without an X toolkit). | ||
| 813 | @end defun | 819 | @end defun |
| 814 | 820 | ||
| 815 | @defun frame-char-height &optional frame | 821 | @defun frame-char-height &optional frame |
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 7c9a2ac1f1b..80c9332996a 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi | |||
| @@ -487,8 +487,8 @@ work just fine right out of the box. Note however that you might not | |||
| 487 | have the latest @ccmode{} release and might want to upgrade your copy | 487 | have the latest @ccmode{} release and might want to upgrade your copy |
| 488 | (see below). | 488 | (see below). |
| 489 | 489 | ||
| 490 | You should probably start by skimming through the entire chapter | 490 | You should probably start by skimming through the entire Commands chapter |
| 491 | @ref{Commands} to get an overview of @ccmode{}'s capabilities. | 491 | (@pxref{Commands}) to get an overview of @ccmode{}'s capabilities. |
| 492 | 492 | ||
| 493 | After trying out some commands, you may dislike some aspects of | 493 | After trying out some commands, you may dislike some aspects of |
| 494 | @ccmode{}'s default configuration. Here is an outline of how to | 494 | @ccmode{}'s default configuration. Here is an outline of how to |