[latex3-commits] [git/LaTeX3-latex3-latex3] main: Correct expansion status of a deprecated command (eb7ae3fbb)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Jan 11 23:58:41 CET 2022


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

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

commit eb7ae3fbb8d2b0cd101ac687ae8fe2afd7039261
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Jan 11 22:58:41 2022 +0000

    Correct expansion status of a deprecated command


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

eb7ae3fbb8d2b0cd101ac687ae8fe2afd7039261
 l3kernel/l3deprecation.dtx | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index edc0b51ad..e7b01fb5e 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -474,17 +474,16 @@
 %
 % \subsection{Deprecated \pkg{l3seq} functions}
 %
-% \begin{macro}[EXP]
-%   {
-%     \seq_indexed_map_inline:Nn, \seq_indexed_map_function:NN
-%   }
+% \begin{macro}{\seq_indexed_map_inline:Nn}
+% \begin{macro}[EXP]{ \seq_indexed_map_function:NN}
 %    \begin{macrocode}
 \__kernel_patch_deprecation:nnNNpn { 2022-07-01 } { \seq_map_indexed_inline:Nn }
-\cs_gset:Npn \seq_indexed_map_inline:Nn { \seq_map_indexed_inline:Nn }
+\cs_gset_protected:Npn \seq_indexed_map_inline:Nn { \seq_map_indexed_inline:Nn }
 \__kernel_patch_deprecation:nnNNpn { 2022-07-01 } { \seq_map_indexed_function:NN }
 \cs_gset:Npn \seq_indexed_map_function:NN { \seq_map_indexed_function:NN }
 %    \end{macrocode}
 % \end{macro}
+% \end{macro}
 %
 % \subsection{Deprecated \pkg{l3sys} functions}
 %





More information about the latex3-commits mailing list.