[latex3-commits] [git/LaTeX3-latex3-latex3] main: Avoid a potentially-stray argument (8e88006f7)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jan 31 18:22:05 CET 2023


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/8e88006f7a45a1e0dff5780671e9faa5129fcea0

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

commit 8e88006f7a45a1e0dff5780671e9faa5129fcea0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jan 31 17:22:05 2023 +0000

    Avoid a potentially-stray argument


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

8e88006f7a45a1e0dff5780671e9faa5129fcea0
 l3packages/xtemplate/xtemplate.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3packages/xtemplate/xtemplate.dtx b/l3packages/xtemplate/xtemplate.dtx
index 6f8e67ab5..22bdd972c 100644
--- a/l3packages/xtemplate/xtemplate.dtx
+++ b/l3packages/xtemplate/xtemplate.dtx
@@ -1994,7 +1994,7 @@
 %   variation is the source of the values to use. When editing, they are
 %   recovered from the previous instance run.
 %    \begin{macrocode}
-\cs_new_protected:Npn \@@_edit_instance:nnnn #1#2#3
+\cs_new_protected:Npn \@@_edit_instance:nnnn #1#2#3#4
   {
     \@@_if_instance_exist:nnnTF {#1} {#2} {#3}
       {
@@ -2002,7 +2002,7 @@
         \prop_get:NnN \l_@@_values_prop { from~template }
           \l_@@_tmp_tl
         \@@_edit_instance_aux:nonnn {#1} \l_@@_tmp_tl
-          {#2} {#3}
+          {#2} {#3} {#4}
       }
       {
         \msg_error:nnxx { xtemplate } { unknown-instance }





More information about the latex3-commits mailing list.