summaryrefslogtreecommitdiff
path: root/doc/misc/cc-mode.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-04-11 07:47:25 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-04-11 07:48:21 -0700
commit279558f472246dd19864f4175cb1d6061bc1ed92 (patch)
tree1206fa105e58d28ba7e9d107cb1968d8391b241f /doc/misc/cc-mode.texi
parent7c7b96eba0599d94ebf93032beb928cf2c043845 (diff)
downloademacs-279558f472246dd19864f4175cb1d6061bc1ed92.tar.gz
Minor quoting etc. fixes to misc manuals
Fix some minor quoting and spacing issues. Distinguish more clearly among grave accent and apostrophe (which are ASCII) and single quote (which is not). Prefer the standard terms "apostrophe" and "grave accent" to alternative names that can be confusing. Use apostrophes to single-quote ASCII text. * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8 rather than approximating it in ASCII with grave accent.
Diffstat (limited to 'doc/misc/cc-mode.texi')
-rw-r--r--doc/misc/cc-mode.texi16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index 068706a9158..b86df189bd8 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -88,7 +88,7 @@ the second with them pointing to the XEmacs manuals.
@c The following four macros generate the filenames and titles of the
@c main (X)Emacs manual and the Elisp/Lispref manual. Leave the
-@c Texinfo variable `XEMACS' unset to generate a GNU Emacs version, set it
+@c Texinfo variable 'XEMACS' unset to generate a GNU Emacs version, set it
@c to generate an XEmacs version, e.g., with
@c "makeinfo -DXEMACS cc-mode.texi".
@ifset XEMACS
@@ -1156,7 +1156,7 @@ When this is enabled (which it normally is), indentation commands such
as @kbd{C-j} indent lines of code according to their syntactic
structure. Otherwise, a line is simply indented to the same level as
the previous one and @kbd{@key{TAB}} adjusts the indentation in steps
-of `c-basic-offset'.
+of @code{c-basic-offset}.
@end table
Full details on how these minor modes work are at @ref{Electric Keys},
@@ -2045,7 +2045,7 @@ conflict).
The value may also be an association list to specify different comment
styles for different languages. The symbol for the major mode is then
looked up in the alist, and the value of that element is interpreted as
-above if found. If it isn't found then the symbol `other' is looked up
+above if found. If it isn't found then the symbol @code{other} is looked up
and its value is used instead.
The default value for @code{c-doc-comment-style} is
@@ -3299,7 +3299,7 @@ only the symbol @code{after}, then the brace hangs on the right side
of the line, as in:
@example
-// here, open braces always `hang'
+// here, open braces always 'hang'
void spam( int i ) @{
if( i == 7 ) @{
dosomething(i);
@@ -3992,7 +3992,7 @@ Hitting @kbd{C-c C-s} on line 4 gives us:
@cindex substatement block
@noindent
which tells us that this is a brace that @emph{opens} a substatement
-block. @footnote{A @dfn{substatement} is the line after a
+block.@footnote{A @dfn{substatement} is the line after a
conditional statement, such as @code{if}, @code{else}, @code{while},
@code{do}, @code{switch}, etc. A @dfn{substatement
block} is a brace block following one of these conditional statements.}
@@ -4765,10 +4765,10 @@ covered are illustrated by this C++ example:
2: const
3: @{
4: /* this line starts a multiline
- 5: * comment. This line should get `c' syntax */
+ 5: * comment. This line should get 'c' syntax */
6:
7: char* a_multiline_string = "This line starts a multiline \
- 8: string. This line should get `string' syntax.";
+ 8: string. This line should get 'string' syntax.";
9:
10: note:
11: @{
@@ -7174,7 +7174,7 @@ Emacs Lisp code that triggers the bug and include it in your report.
@cindex bug report mailing list
Bug reports should be sent to @email{bug-cc-mode@@gnu.org}. You can
-also send other questions and suggestions (kudos? @t{;-)} to that
+also send other questions and suggestions (kudos?@: @t{;-)} to that
address. It's a mailing list which you can join or browse an archive
of; see the web site at @uref{http://cc-mode.sourceforge.net/} for
further details.