[latex3-commits] [git/LaTeX3-latex3-latex2e] master: bit of further docu [CI skip] (eb40342)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Mar 9 11:33:02 CET 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/eb403427132aea5fdf03ab434b69a6311d09f5e6
>---------------------------------------------------------------
commit eb403427132aea5fdf03ab434b69a6311d09f5e6
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Mar 9 11:33:02 2018 +0100
bit of further docu [CI skip]
>---------------------------------------------------------------
eb403427132aea5fdf03ab434b69a6311d09f5e6
base/ltcounts.dtx | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/base/ltcounts.dtx b/base/ltcounts.dtx
index df42631..9aaa0a5 100644
--- a/base/ltcounts.dtx
+++ b/base/ltcounts.dtx
@@ -336,6 +336,11 @@
%
% \begin{macrocode}
\def\@removefromreset#1#2{%
+% \end{macrocode}
+% Even through this is internal and the programmer should know what
+% he/she is doing we test here if counter |#2| is defined. If not,
+% the execution would run into a tight loop.
+% \begin{macrocode}
\@ifundefined{c@#2}\relax
{\begingroup
\expandafter\let\csname c@#1\endcsname\@removefromreset
More information about the latex3-commits
mailing list