[latex3-commits] [git/LaTeX3-latex3-latex2e] keyval-tuneup: Correct an argument (cd1524b5)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Oct 20 12:16:20 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : keyval-tuneup
Link       : https://github.com/latex3/latex2e/commit/cd1524b560b6fbecb3f369100d866761c164c013

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

commit cd1524b560b6fbecb3f369100d866761c164c013
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Oct 20 11:16:20 2022 +0100

    Correct an argument


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

cd1524b560b6fbecb3f369100d866761c164c013
 base/changes.txt |  4 ++++
 base/ltkeys.dtx  | 11 +++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 6a91ae4e..af3556c0 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,10 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2022-10-20  Joseph Wright  <Joseph.Wright at latex-project.org>
+
+	* ltkeys.dtx: Correct an argument for a message
+
 2022-10-10  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* ltclass.dtx: use \protected at edef rather than \edef when expanding option lists
diff --git a/base/ltkeys.dtx b/base/ltkeys.dtx
index 88f9315f..f0242416 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltkeys.dtx}
-             [2022/08/21 v1.0k LaTeX Kernel (Keyval options)]
+             [2022/10/2 v1.0l LaTeX Kernel (Keyval options)]
 % \iffalse
 \documentclass{l3doc}
 \GetFileInfo{ltkeys.dtx}
@@ -475,6 +475,7 @@
 %
 % \begin{macro}{\@@_options_loaded:n}
 % \begin{macro}{\@@_options_loaded:nn}
+% \changes{v1.0l}{2022/10/20}{Correct an argument for a message}
 %   Indicates that the load-time options for a package have been processed:
 %   once this has happened, make them unavailable either with a warning or
 %   an error.
@@ -496,11 +497,9 @@
 \cs_new_protected:Npn \@@_options_loaded:nn #1#2
   {
     \bool_if:NTF \l_@@_options_loading_bool
-      {
-        \msg_warning:nnxx { keys } { load-option-ignored }
-          { \use:c { opt at fam@\@currname.\@currext } } {#2}
-      }
-      { \msg_error:nnnn { keys } { load-only } {#1} {#2} }
+      { \msg_warning:nnnn { keys } { load-option-ignored } }
+      { \msg_error:nnnn { keys } { load-only } }
+        {#1} {#2}
   }
 %    \end{macrocode}
 % \changes{v1.0j}{2022/07/23}





More information about the latex3-commits mailing list.