[latex3-commits] [git/LaTeX3-latex3-latex2e] l3debug: Fix future l3debug error on \prop_gclear:c (7db71beb)
PhelypeOleinik
phelype.oleinik at latex-project.org
Fri May 13 06:31:57 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : l3debug
Link : https://github.com/latex3/latex2e/commit/7db71beb8d48f481e9ab5005cb2e46ebec8118e3
>---------------------------------------------------------------
commit 7db71beb8d48f481e9ab5005cb2e46ebec8118e3
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Fri May 13 01:31:57 2022 -0300
Fix future l3debug error on \prop_gclear:c
>---------------------------------------------------------------
7db71beb8d48f481e9ab5005cb2e46ebec8118e3
base/ltdefns.dtx | 4 ++--
base/lthooks.dtx | 16 +++++++++++++---
base/ltpara.dtx | 4 ++--
3 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/base/ltdefns.dtx b/base/ltdefns.dtx
index 3a92e827..9e1fa43f 100644
--- a/base/ltdefns.dtx
+++ b/base/ltdefns.dtx
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltdefns.dtx}
- [2021/06/04 v1.5q LaTeX Kernel (definition commands)]
+ [2022/05/13 v1.5q LaTeX Kernel (definition commands)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltdefns.dtx}
@@ -1601,7 +1601,7 @@
% But more importantly, the most common use case of copying a command is to
% redefine it later, while preserving the old definition, as in:
% \begin{verbatim}
-% \ProvideComandCopy \A \B
+% \ProvideCommandCopy \A \B
% \renewcommand \B { ... \A ... }
% \end{verbatim}
% then, if \verb=\A= is already defined the first line is skipped, an in this
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 806189ee..c5243e89 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
%%% From File: lthooks.dtx
%
% \begin{macrocode}
-\def\lthooksversion{v1.0t}
-\def\lthooksdate{2022/04/14}
+\def\lthooksversion{v1.0u}
+\def\lthooksdate{2022/05/13}
% \end{macrocode}
%
%<*driver>
@@ -2195,6 +2195,15 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\@@_prop_gclear:c}
+% Same as above.
+% \changes{v1.0u}{2022/05/13}{Add non-debug version of \cs{prop_gclear:c}}
+% \begin{macrocode}
+\cs_new_protected:Npn \@@_prop_gclear:c #1
+ { \exp_args:Nc \@@_tl_gset_eq:NN {#1} \c_empty_prop }
+% \end{macrocode}
+% \end{macro}
+%
%
%
% \subsection{Providing new hooks}
@@ -4850,6 +4859,7 @@
% clears the hook so that any further call to \cs{hook_use:n} or
% \cs{hook_use_once:n} will expand to nothing.
% \changes{v1.0r}{2021/09/06}{Clean up after \cs{UseOneTimeHook} (gh/606)}
+% \changes{v1.0u}{2022/05/13}{Use non-debug version of \cs{prop_gclear:c}}
% \begin{macrocode}
\cs_new_protected:Npn \@@_use_once_set:n #1
{ \@@_tl_gset:cn { g_@@_#1_reversed_tl } { I } }
@@ -4858,7 +4868,7 @@
\@@_tl_gclear:c { @@~#1 }
\@@_tl_gclear:c { @@_next~#1 }
\@@_tl_gclear:c { @@_toplevel~#1 }
- \prop_gclear:c { g_@@_#1_code_prop }
+ \@@_prop_gclear:c { g_@@_#1_code_prop }
}
% \end{macrocode}
% \end{macro}
diff --git a/base/ltpara.dtx b/base/ltpara.dtx
index 36d07337..9296f2b2 100644
--- a/base/ltpara.dtx
+++ b/base/ltpara.dtx
@@ -15,7 +15,7 @@
%
% \begin{macrocode}
\def\ltparaversion{v1.0k}
-\def\ltparadate{2021/11/11}
+\def\ltparadate{2022/05/13}
% \end{macrocode}
%<*driver>
\documentclass{l3doc}
@@ -484,7 +484,7 @@
%
% To avoid issues a paragraph started by them should always be
% ended by \cs{RawParEnd}\footnote{Technical note for those who
-% know their \textit{\TeX book\/}: the \cs{RawParEnd} comand
+% know their \textit{\TeX book\/}: the \cs{RawParEnd} command
% invokes the original \TeX{} engine definition of \cs{par} that
% (soley) triggers the paragraph builder in \TeX{} when found
% inside unrestricted horizontal mode and does nothing in other
More information about the latex3-commits
mailing list.