[latex3-commits] [git/LaTeX3-latex3-latex2e] main: Remove \__kernel_msg_... usage (0493220b)
Joseph Wright
joseph.wright at morningstar2.co.uk
Fri Aug 27 14:09:14 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : main
Link : https://github.com/latex3/latex2e/commit/0493220ba6362047a5c5539215ff5a2722a34549
>---------------------------------------------------------------
commit 0493220ba6362047a5c5539215ff5a2722a34549
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Aug 27 13:09:14 2021 +0100
Remove \__kernel_msg_... usage
>---------------------------------------------------------------
0493220ba6362047a5c5539215ff5a2722a34549
base/ltfilehook.dtx | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/base/ltfilehook.dtx b/base/ltfilehook.dtx
index 19435c31..c23dce62 100644
--- a/base/ltfilehook.dtx
+++ b/base/ltfilehook.dtx
@@ -31,8 +31,8 @@
%%% From File: ltfilehook.dtx
%
% \begin{macrocode}
-\providecommand\ltfilehookversion{v1.0k}
-\providecommand\ltfilehookdate{2021/05/25}
+\providecommand\ltfilehookversion{v1.0l}
+\providecommand\ltfilehookdate{2021/08/27}
% \end{macrocode}
%
%<*driver>
@@ -1383,6 +1383,7 @@
% \@@_file_subst_cycle_error:NN,
% \@@_file_subst_cycle_error:cN,
% }
+% \changes{v1.0l}{2021/08/27}{Use \cs{msg_...} not \cs{__kernel_msg_...}}
% Showing this type of error expandably is tricky, as we have a very
% limited amount of characters to show and a potentially large list.
% As a work around, several errors are printed, each showing one step
@@ -1390,7 +1391,7 @@
% \begin{macrocode}
\cs_new:Npn \@@_file_subst_cycle_error:NN #1 #2
{
- \__kernel_msg_expandable_error:nnff { kernel } { file-cycle }
+ \msg_expandable_error:nnff { latex2e } { file-cycle }
{#1} { \use:c { @file-subst@ #1 } }
\token_if_eq_meaning:NNF #1 #2
{ \@@_file_subst_cycle_error:cN { @file-subst@ #1 } #2 }
@@ -1400,7 +1401,7 @@
%
% And the error message:
% \begin{macrocode}
-\__kernel_msg_new:nnn { kernel } { file-cycle }
+\msg_new:nnn { latex2e } { file-cycle }
{ File~loop!~#1~replaced~by~#2... }
% \end{macrocode}
% \end{macro}
More information about the latex3-commits
mailing list.