[latex3-commits] [git/LaTeX3-latex3-latex2e] gh938: Correct which arg. is saved in unused ist (737ca647)

Joseph Wright joseph.wright at morningstar2.co.uk
Sat Oct 22 11:29:54 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : gh938
Link       : https://github.com/latex3/latex2e/commit/737ca6476051c6189396eda272d7b0667e074055

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

commit 737ca6476051c6189396eda272d7b0667e074055
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sat Oct 22 10:29:54 2022 +0100

    Correct which arg. is saved in unused ist


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

737ca6476051c6189396eda272d7b0667e074055
 base/ltkeys.dtx                | 2 +-
 base/testfiles/github-0892.tlg | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/ltkeys.dtx b/base/ltkeys.dtx
index de70e9e9..033f6a4b 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -330,7 +330,7 @@
       }
       {
         \clist_if_in:NnF \@unusedoptionlist {#1}
-          { \clist_put_right:Nn \@unusedoptionlist {#2} }
+          { \clist_put_right:Nn \@unusedoptionlist {#1} }
       }
   }
 %    \end{macrocode}
diff --git a/base/testfiles/github-0892.tlg b/base/testfiles/github-0892.tlg
index d75bc03a..14c1cc47 100644
--- a/base/testfiles/github-0892.tlg
+++ b/base/testfiles/github-0892.tlg
@@ -37,7 +37,7 @@ LaTeX has been asked to set an option called 'option5' but the package
 This is a generated file for the LaTeX2e validation system.
 Don't change this file in any respect.
 LaTeX Warning: Unused global option(s):
-    [option2=more stuff,option3=unused].
+    [option3].
 (github-0892.aux)
 LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line ....
 LaTeX Font Info:    ... okay on input line ....





More information about the latex3-commits mailing list.