[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6636] no @var in @defspec example
From: |
Gavin D. Smith |
Subject: |
[6636] no @var in @defspec example |
Date: |
Sun, 20 Sep 2015 16:28:08 +0000 |
Revision: 6636
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6636
Author: gavin
Date: 2015-09-20 16:28:07 +0000 (Sun, 20 Sep 2015)
Log Message:
-----------
no @var in @defspec example
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/texinfo.texi
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-09-20 15:10:51 UTC (rev 6635)
+++ trunk/ChangeLog 2015-09-20 16:28:07 UTC (rev 6636)
@@ -1,5 +1,11 @@
2015-09-20 Gavin Smith <address@hidden>
+ * doc/texinfo.texi (Optional Arguments): Remove use of @var from
+ example of @defspec with optional arguments. Change a @samp to
+ @code around @dots{} to avoid unwanted inverted commas.
+
+2015-09-20 Gavin Smith <address@hidden>
+
* doc/texinfo.tex (\requireopenindexfile): Use \immediate before
\openout.
(\df): Also define a \defsl font in addition to \defttsl, so we get
Modified: trunk/doc/texinfo.texi
===================================================================
--- trunk/doc/texinfo.texi 2015-09-20 15:10:51 UTC (rev 6635)
+++ trunk/doc/texinfo.texi 2015-09-20 16:28:07 UTC (rev 6636)
@@ -11758,7 +11758,7 @@
ellipsis is optional and may be repeated more than once.
Thus, address@hidden means that @var{optional-arg} is optional
-and @address@hidden@dots{}} stands for zero or more
+and @address@hidden@dots{}} stands for zero or more
arguments. Parentheses are used when several arguments are grouped
into additional levels of list structure in Lisp.
@@ -11766,11 +11766,8 @@
(complicated) special form:
@quotation
address@hidden foobar (@var{var} address@hidden @var{to} address@hidden)
@address@hidden
address@hidden foobar (var [from to [inc]]) address@hidden
@end defspec
address@hidden tex
address@hidden \vskip \parskip
address@hidden end tex
@end quotation
@noindent
@@ -11782,13 +11779,10 @@
form.
In a Texinfo source file, this @code{@@defspec} line is written like
-this, including a continuation to avoid a long source line.
+this:
@example
address@hidden
-@@defspec foobar (@@address@hidden@} [@@address@hidden@} @@address@hidden@} @@
- [@@address@hidden@}]]) @@address@hidden@}@@address@hidden@}
address@hidden group
+@@defspec foobar (var [from to [inc]]) body@@address@hidden@}
@end example
@noindent
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6636] no @var in @defspec example,
Gavin D. Smith <=