[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/texinfo.texi (Inserting an Ampersand): Remo
From: |
Gavin D. Smith |
Subject: |
branch master updated: * doc/texinfo.texi (Inserting an Ampersand): Remove unnecessary @code from example. |
Date: |
Tue, 09 Aug 2022 15:44:10 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 06c514df28 * doc/texinfo.texi (Inserting an Ampersand): Remove
unnecessary @code from example.
06c514df28 is described below
commit 06c514df28ba469c35bff34ee359af7346e5debd
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Aug 9 20:44:01 2022 +0100
* doc/texinfo.texi (Inserting an Ampersand):
Remove unnecessary @code from example.
---
ChangeLog | 5 +++++
doc/texinfo.texi | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4bc0a6c2d4..c287c61874 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-08-09 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/texinfo.texi (Inserting an Ampersand):
+ Remove unnecessary @code from example.
+
2022-08-09 Gavin Smith <gavinsmith0123@gmail.com>
* doc/texinfo.tex (\deftypevr, \defvr, \deftypecv, \defcv):
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index c5b59e5b05..b986302e9b 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -9468,14 +9468,14 @@ it's necessary to use @code{@@&} or some other
construct.
Here's an example:
@example
-@@deftypefn Function int foo (@@code@{const std::vector<int>@@&@} @@var@{bar@})
+@@deftypefn Function int foo (const std::vector<int>@@& @@var@{bar@})
Documentation of @@code@{foo@}.
@@end deftypefn
@end example
@noindent This gives the output
-@deftypefn Function int foo (@code{const std::vector<int>@&} @var{bar})
+@deftypefn Function int foo (const std::vector<int>@& @var{bar})
Documentation of @code{foo}.
@end deftypefn
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/texinfo.texi (Inserting an Ampersand): Remove unnecessary @code from example.,
Gavin D. Smith <=