[latex3-commits] [git/LaTeX3-latex3-latex2e] keyval-tuneup: Correct an argument (694f2296)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Oct 23 19:28:43 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : keyval-tuneup
Link : https://github.com/latex3/latex2e/commit/694f22964951516e7bf1aa0385f0b75e6507e140
>---------------------------------------------------------------
commit 694f22964951516e7bf1aa0385f0b75e6507e140
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Oct 20 11:16:20 2022 +0100
Correct an argument
>---------------------------------------------------------------
694f22964951516e7bf1aa0385f0b75e6507e140
base/changes.txt | 4 ++++
base/ltkeys.dtx | 9 ++++-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index 080a3388..22e9db84 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -16,6 +16,10 @@ are not part of the distribution.
* ltkeys.dtx: Correct handling of unknown option list
+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 b418aa35..b57cad1c 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -477,6 +477,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.
@@ -498,11 +499,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.