Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9879e263
Commit
9879e263
authored
May 12, 2012
by
Andreas Schwab
Browse files
* cc-mode.texi: Avoid space before macro in 4th argument of cross
reference commands.
parent
78e91d08
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
doc/misc/ChangeLog
doc/misc/ChangeLog
+3
-0
doc/misc/cc-mode.texi
doc/misc/cc-mode.texi
+12
-11
No files found.
doc/misc/ChangeLog
View file @
9879e263
2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
* cc-mode.texi: Avoid space before macro in 4th argument of cross
reference commands. (Bug#11461)
* Makefile.in (gnus.dvi): Use $@ instead of $*.dvi.
* Makefile.in (gnus.dvi): Use $@ instead of $*.dvi.
2012-05-02 Glenn Morris <rgm@gnu.org>
2012-05-02 Glenn Morris <rgm@gnu.org>
...
...
doc/misc/cc-mode.texi
View file @
9879e263
...
@@ -701,7 +701,7 @@ in some circumstances---@code{c-insert-tab-function} then defines
...
@@ -701,7 +701,7 @@ in some circumstances---@code{c-insert-tab-function} then defines
precisely what sort of ``whitespace'' this will be. Set the standard
precisely what sort of ``whitespace'' this will be. Set the standard
Emacs variable @code
{
indent-tabs-mode
}
to @code
{
t
}
if you want real
Emacs variable @code
{
indent-tabs-mode
}
to @code
{
t
}
if you want real
@samp
{
tab
}
characters to be used in the indentation, to @code
{
nil
}
if
@samp
{
tab
}
characters to be used in the indentation, to @code
{
nil
}
if
you want only spaces. @xref
{
Just Spaces,,,
@emacsman
{}
,
you want only spaces. @xref
{
Just Spaces,,,@emacsman
{}
,
@emacsmantitle
{}}
.
@emacsmantitle
{}}
.
@defopt c-tab-always-indent
@defopt c-tab-always-indent
...
@@ -1058,8 +1058,8 @@ set this up for you, so you probably won't have to bother.
...
@@ -1058,8 +1058,8 @@ set this up for you, so you probably won't have to bother.
@cindex Auto Fill mode
@cindex Auto Fill mode
@cindex paragraph filling
@cindex paragraph filling
Line breaks are by default handled (almost) the same regardless of
Line breaks are by default handled (almost) the same regardless of
whether they are made by auto fill mode (@pxref
{
Auto
Fill,,,
whether they are made by auto fill mode (@pxref
{
Auto
@emacsman
{}
, @emacsmantitle
{}}
), by paragraph filling (e.g. with
Fill,,,
@emacsman
{}
, @emacsmantitle
{}}
), by paragraph filling (e.g. with
@kbd
{
M-q
}
), or explicitly with @kbd
{
M-j
}
or similar methods. In
@kbd
{
M-q
}
), or explicitly with @kbd
{
M-j
}
or similar methods. In
string literals, the new line gets the same indentation as the
string literals, the new line gets the same indentation as the
previous nonempty line.@footnote
{
You can change this default by
previous nonempty line.@footnote
{
You can change this default by
...
@@ -1402,7 +1402,7 @@ continuation of the preceding @code{if}.
...
@@ -1402,7 +1402,7 @@ continuation of the preceding @code{if}.
@vindex abbrev-mode
@vindex abbrev-mode
@findex abbrev-mode
@findex abbrev-mode
@cindex Abbrev mode
@cindex Abbrev mode
@ccmode
{}
uses Abbrev mode (@pxref
{
Abbrevs,,,
@emacsman
{}
, @emacsmantitle
{}}
)
@ccmode
{}
uses Abbrev mode (@pxref
{
Abbrevs,,,@emacsman
{}
, @emacsmantitle
{}}
)
to accomplish this. It's therefore turned on by default in all language
to accomplish this. It's therefore turned on by default in all language
modes except IDL mode, since CORBA IDL doesn't have any statements.
modes except IDL mode, since CORBA IDL doesn't have any statements.
@end deffn
@end deffn
...
@@ -2295,14 +2295,14 @@ to create them.
...
@@ -2295,14 +2295,14 @@ to create them.
A @dfn
{
file local variable setting
}
is a setting which applies to an
A @dfn
{
file local variable setting
}
is a setting which applies to an
individual source file. You put this in a @dfn
{
local variables list
}
,
individual source file. You put this in a @dfn
{
local variables list
}
,
a special block at the end of the source file (@pxref
{
Specifying File
a special block at the end of the source file (@pxref
{
Specifying File
Variables,,,
@emacsman
{}}
).
Variables,,,@emacsman
{}}
).
@item File Styles
@item File Styles
A @dfn
{
file style
}
is a rarely used variant of the ``style'' mechanism
A @dfn
{
file style
}
is a rarely used variant of the ``style'' mechanism
described above, which applies to an individual source file.
described above, which applies to an individual source file.
@xref
{
File Styles
}
. You use this by setting certain special variables
@xref
{
File Styles
}
. You use this by setting certain special variables
in a local variables list (@pxref
{
Specifying File
Variables,,,
in a local variables list (@pxref
{
Specifying File
@emacsman
{}}
).
Variables,,,
@emacsman
{}}
).
@item Hooks with Styles
@item Hooks with Styles
For ultimate flexibility, you can use hooks and styles together. For
For ultimate flexibility, you can use hooks and styles together. For
...
@@ -2897,7 +2897,7 @@ these offsets or the parent style name.
...
@@ -2897,7 +2897,7 @@ these offsets or the parent style name.
The Emacs manual describes how you can customize certain variables on a
The Emacs manual describes how you can customize certain variables on a
per-file basis by including a @dfn
{
file local variable
}
block at the end
per-file basis by including a @dfn
{
file local variable
}
block at the end
of the file (@pxref
{
File Variables,, Local Variables in Files,
@emacsman
{}
,
of the file (@pxref
{
File Variables,, Local Variables in Files,@emacsman
{}
,
@emacsmantitle
{}}
).
@emacsmantitle
{}}
).
So far, you've only seen a functional interface for setting styles in
So far, you've only seen a functional interface for setting styles in
...
@@ -3139,8 +3139,9 @@ results in the current implementation.
...
@@ -3139,8 +3139,9 @@ results in the current implementation.
@end defopt
@end defopt
@vindex comment-multi-line
@vindex comment-multi-line
If inside a comment and @code
{
comment-multi-line
}
(@pxref
{
Auto Fill,,,
If inside a comment and @code
{
comment-multi-line
}
(@pxref
{
Auto
@emacsman
{}
, @emacsmantitle
{}}
is non-@code
{
nil
}
, the indentation and
Fill,,,@emacsman
{}
, @emacsmantitle
{}}
is non-@code
{
nil
}
, the
indentation and
line prefix are preserved. If inside a comment and
line prefix are preserved. If inside a comment and
@code
{
comment-multi-line
}
is @code
{
nil
}
, a new comment of the same
@code
{
comment-multi-line
}
is @code
{
nil
}
, a new comment of the same
type is started on the next line and indented as appropriate for
type is started on the next line and indented as appropriate for
...
@@ -6771,7 +6772,7 @@ The stuff that didn't fit in anywhere else is documented here.
...
@@ -6771,7 +6772,7 @@ The stuff that didn't fit in anywhere else is documented here.
Controls whether a final newline is enforced when the file is saved.
Controls whether a final newline is enforced when the file is saved.
The value is an association list that for each language mode specifies
The value is an association list that for each language mode specifies
the value to give to @code
{
require
-
final
-
newline
}
(
@pxref
{
Saving
the value to give to @code
{
require
-
final
-
newline
}
(
@pxref
{
Saving
Buffers,,,
@lispref
{}
, @lispreftitle
{}}
)
at mode initialization. If a
Buffers,,,@lispref
{}
, @lispreftitle
{}}
)
at mode initialization. If a
language isn't present on the association list, CC Mode won't touch
language isn't present on the association list, CC Mode won't touch
@code
{
require
-
final
-
newline
}
in buffers for that language.
@code
{
require
-
final
-
newline
}
in buffers for that language.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment