[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Do not clear input file seq when rolling back (f2e1f537)

PhelypeOleinik phelype.oleinik at latex-project.org
Thu Mar 11 16:02:58 CET 2021


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

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

commit f2e1f5378889b41a933031499204d31b7b4e927e
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu Mar 11 12:02:58 2021 -0300

    Do not clear input file seq when rolling back


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

f2e1f5378889b41a933031499204d31b7b4e927e
 base/latexrelease.dtx | 0
 base/ltfilehook.dtx   | 5 +++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/base/ltfilehook.dtx b/base/ltfilehook.dtx
index 94f28232..2c2921d2 100644
--- a/base/ltfilehook.dtx
+++ b/base/ltfilehook.dtx
@@ -587,7 +587,8 @@
 %   are manually used elsewhere as well.
 %    \begin{macrocode}
 \tl_new:N \l_@@_internal_tl
-\seq_new:N \g_@@_input_file_seq
+\seq_if_exist:NF \g_@@_input_file_seq
+  { \seq_new:N \g_@@_input_file_seq }
 \cs_new_protected:Npn \@@_file_push:
   {
     \seq_gpush:Nx \g_@@_input_file_seq
@@ -1530,7 +1531,7 @@
 %    
 %    \begin{macrocode}
 \cs_new_eq:NN \@expl@@@filehook at file@push@@
-               \__filehook_file_push:
+              \__filehook_file_push:
 %    \end{macrocode}
 %    
 %    \begin{macrocode}





More information about the latex3-commits mailing list.