Mercurial > emacs
comparison man/programs.texi @ 30049:be64b32cd2a2
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 05 Jul 2000 13:14:36 +0000 |
parents | ca9f6085d33b |
children | 9c402b90b24d |
comparison
equal
deleted
inserted
replaced
30048:349704f6532f | 30049:be64b32cd2a2 |
---|---|
1122 specifies an explicit choice for Java mode, and the default @samp{gnu} | 1122 specifies an explicit choice for Java mode, and the default @samp{gnu} |
1123 style for the other C-like modes. | 1123 style for the other C-like modes. |
1124 | 1124 |
1125 The style @code{gnu} defines the formatting recommend by the GNU | 1125 The style @code{gnu} defines the formatting recommend by the GNU |
1126 Project; it is the default, so as to encourage the indentation we | 1126 Project; it is the default, so as to encourage the indentation we |
1127 recommend. The style @code{user} is the same as @code{gnu} but | 1127 recommend. If you make changes in variables such as |
1128 incorporates any changes made in variables such as @code{c-basic-offset} | 1128 @code{c-basic-offset} and @code{c-offsets-alist} in your @file{~/.emacs} |
1129 and @code{c-offsets-alist} by your @file{~/.emacs} file. To make them | 1129 file, they will however take precedence. |
1130 take effect, you should select the style @code{user} with | |
1131 @code{c-set-style} or @code{c-default-style}. | |
1132 | 1130 |
1133 @findex c-add-style | 1131 @findex c-add-style |
1134 To define a new C indentation style, call the function | 1132 To define a new C indentation style, call the function |
1135 @code{c-add-style}: | 1133 @code{c-add-style}: |
1136 | 1134 |