[latex3-commits] [git/LaTeX3-latex3-latex3] main: Documentation improvements (closes #974) (03f1a907a)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Aug 2 14:58:23 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/03f1a907ab00579f61bfc7a2a6d91ee2e3ceb0bd

>---------------------------------------------------------------

commit 03f1a907ab00579f61bfc7a2a6d91ee2e3ceb0bd
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Aug 2 13:58:23 2021 +0100

    Documentation improvements (closes #974)


>---------------------------------------------------------------

03f1a907ab00579f61bfc7a2a6d91ee2e3ceb0bd
 l3kernel/l3prop.dtx | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/l3kernel/l3prop.dtx b/l3kernel/l3prop.dtx
index 5cdd55d17..62195a886 100644
--- a/l3kernel/l3prop.dtx
+++ b/l3kernel/l3prop.dtx
@@ -124,7 +124,7 @@
 %       \}
 %   \end{syntax}
 %   Sets \meta{prop~var} to contain key--value pairs given in the second
-%   argument.  If duplicate keys appear only one of the values is kept.
+%   argument.  If duplicate keys appear only the last of the values is kept.
 %
 %   Spaces are trimmed around every \meta{key} and every \meta{value},
 %   and if the result of trimming spaces consists of a single brace
@@ -146,7 +146,7 @@
 %   name is already taken. The \meta{prop~var} is set globally to
 %   contain key--value pairs given in the second argument, processed in
 %   the way described for \cs{prop_set_from_keyval:Nn}.  If duplicate
-%   keys appear only one of the values is kept.
+%   keys appear only the last of the values is kept.
 % \end{function}
 %
 % \section{Adding and updating property list entries}
@@ -202,8 +202,7 @@
 %   Combines the key--value pairs of \meta{prop~var_2} and
 %   \meta{prop~var_3}, and saves the result in \meta{prop~var_1}.  If a
 %   key appears in both \meta{prop~var_2} and \meta{prop~var_3} then the
-%   last value, namely the value in \meta{prop~var_3} is kept while the
-%   other is discarded.
+%   last value, namely the value in \meta{prop~var_3} is kept.
 % \end{function}
 %
 % \begin{function}[added = 2021-05-16]
@@ -223,7 +222,7 @@
 %   \cs{prop_put:Nnn}, hence if the \meta{prop~var} already contains
 %   some of the keys, the corresponding values are discarded and
 %   replaced by those given in the key--value list.  If duplicate keys
-%   appear in the key--value list then only one of the values is kept.
+%   appear in the key--value list then only the last of the values is kept.
 %
 %   The function is equivalent to storing the key--value pairs in a
 %   temporary property variable using \cs{prop_set_from_keyval:Nn}, then





More information about the latex3-commits mailing list.