Mercurial > emacs
comparison doc/misc/cc-mode.texi @ 96449:80392a5671b7
American English spelling fixes.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 01 Jul 2008 02:57:56 +0000 |
parents | ce35dd677448 |
children | 6de181810d0f |
comparison
equal
deleted
inserted
replaced
96448:187da50507c8 | 96449:80392a5671b7 |
---|---|
2595 @code{c-default-style}. The factory default is the style @code{gnu}, | 2595 @code{c-default-style}. The factory default is the style @code{gnu}, |
2596 except in Java and AWK modes where it's @code{java} and @code{awk}. | 2596 except in Java and AWK modes where it's @code{java} and @code{awk}. |
2597 | 2597 |
2598 Remember that if you set a style variable with the Customization | 2598 Remember that if you set a style variable with the Customization |
2599 interface or at the top level of your @file{.emacs} file before the | 2599 interface or at the top level of your @file{.emacs} file before the |
2600 style system is initialised (@pxref{Config Basics}), this setting will | 2600 style system is initialized (@pxref{Config Basics}), this setting will |
2601 override the one that the style system would have given the variable. | 2601 override the one that the style system would have given the variable. |
2602 | 2602 |
2603 To set a buffer's style interactively, use the command @kbd{C-c .} | 2603 To set a buffer's style interactively, use the command @kbd{C-c .} |
2604 (@pxref{Other Commands}). To set it from a file's local variable | 2604 (@pxref{Other Commands}). To set it from a file's local variable |
2605 list, @ref{File Styles}. | 2605 list, @ref{File Styles}. |
2825 values for different languages. The symbol for the major mode is | 2825 values for different languages. The symbol for the major mode is |
2826 looked up in the alist to get the regexp for the language, and if it | 2826 looked up in the alist to get the regexp for the language, and if it |
2827 isn't found then the special symbol @samp{other} is looked up instead. | 2827 isn't found then the special symbol @samp{other} is looked up instead. |
2828 | 2828 |
2829 When a comment line gets divided by @kbd{M-j} or the like, @ccmode{} | 2829 When a comment line gets divided by @kbd{M-j} or the like, @ccmode{} |
2830 inserts the comment line prefix from a neighbouring line at the start | 2830 inserts the comment line prefix from a neighboring line at the start |
2831 of the new line. The default value of c-comment-prefix-regexp is | 2831 of the new line. The default value of c-comment-prefix-regexp is |
2832 @samp{//+\\|\\**}, which matches C++ style line comments like | 2832 @samp{//+\\|\\**}, which matches C++ style line comments like |
2833 | 2833 |
2834 @example | 2834 @example |
2835 // blah blah | 2835 // blah blah |
5856 @end example | 5856 @end example |
5857 | 5857 |
5858 Only continuation lines like this are touched, @code{nil} is returned on | 5858 Only continuation lines like this are touched, @code{nil} is returned on |
5859 lines which are the start of an argument. | 5859 lines which are the start of an argument. |
5860 | 5860 |
5861 Within a gcc @code{asm} block, @code{:} is recognised as an argument | 5861 Within a gcc @code{asm} block, @code{:} is recognized as an argument |
5862 separator, but of course only between operand specifications, not in the | 5862 separator, but of course only between operand specifications, not in the |
5863 expressions for the operands. | 5863 expressions for the operands. |
5864 | 5864 |
5865 @workswith @code{arglist-cont}, @code{arglist-cont-nonempty}. | 5865 @workswith @code{arglist-cont}, @code{arglist-cont-nonempty}. |
5866 @end defun | 5866 @end defun |