[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Undefine temporary copies (975373f0)

PhelypeOleinik phelype.oleinik at latex-project.org
Fri Mar 19 02:21:52 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/975373f0e0ad58ce4735f19ac1b260f4b511328b

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

commit 975373f0e0ad58ce4735f19ac1b260f4b511328b
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu Mar 18 22:21:52 2021 -0300

    Undefine temporary copies


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

975373f0e0ad58ce4735f19ac1b260f4b511328b
 base/latexrelease.dtx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/base/latexrelease.dtx b/base/latexrelease.dtx
index c67ff9af..dcddbbee 100644
--- a/base/latexrelease.dtx
+++ b/base/latexrelease.dtx
@@ -603,7 +603,10 @@ of this package available from CTAN}
 % previous meanings.
 %    \begin{macrocode}
 \tl_map_inline:Nn \l_@@_restores_tl
-  { \cs_set_eq:Nc #1 { @@_ \cs_to_str:N #1 } }
+  {
+    \cs_set_eq:Nc #1 { @@_ \cs_to_str:N #1 }
+    \cs_undefine:c { @@_ \cs_to_str:N #1 }
+  }
 %    \end{macrocode}
 %
 % And restore the hook error message.





More information about the latex3-commits mailing list.