[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: defs should be long (c7ce5c12)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Jan 7 17:19:16 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/c7ce5c12653100d7677362cabd27748cb3ab3de3

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

commit c7ce5c12653100d7677362cabd27748cb3ab3de3
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Jan 7 17:19:16 2022 +0100

    defs should be long


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

c7ce5c12653100d7677362cabd27748cb3ab3de3
 base/ltshipout.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/ltshipout.dtx b/base/ltshipout.dtx
index c2c9ee16..09495dde 100644
--- a/base/ltshipout.dtx
+++ b/base/ltshipout.dtx
@@ -2058,8 +2058,8 @@
 % \changes{v1.0l}{2022/01/06}{Correctly simulate \cs{AtBeginShipout}
 %    and \cs{AtBeginShipoutNext} without extending the syntax}
 %    \begin{macrocode}
-\protected \def \AtBeginShipout     #1{\AddToHook{shipout/before}{#1}}
-\protected \def \AtBeginShipoutNext #1{\AddToHookNext{shipout/before}{#1}}
+\protected\long\def\AtBeginShipout     #1{\AddToHook{shipout/before}{#1}}
+\protected\long\def\AtBeginShipoutNext #1{\AddToHookNext{shipout/before}{#1}}
 %    \end{macrocode}
 %  \end{macro}
 %





More information about the latex3-commits mailing list.