[latex3-commits] [git/LaTeX3-latex3-latex3] master: Simpler code for setting \c__kernel_expl_date_tl (f655fc53a)
Marcel Fabian Krüger
tex at 2krueger.de
Wed Dec 2 20:51:56 CET 2020
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/f655fc53a166e82db4e8d44af9196f63de7cd196
>---------------------------------------------------------------
commit f655fc53a166e82db4e8d44af9196f63de7cd196
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Wed Dec 2 20:51:56 2020 +0100
Simpler code for setting \c__kernel_expl_date_tl
>---------------------------------------------------------------
f655fc53a166e82db4e8d44af9196f63de7cd196
l3kernel/expl3.dtx | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 87b08ab49..ca3a09e69 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -1083,13 +1083,10 @@
% \begin{macrocode}
%<*2ekernel|generic>
\begingroup
- \catcode`\>=12
- \def\aux#1>{}
- \def\auxi{c__kernel_expl_date_tl}%
- \edef\auxi{\expandafter\aux\meaning\auxi}%
+ \catcode`\_=11
\expandafter
- \ifx\csname\auxi\endcsname\relax
- \global\expandafter\let\csname\auxi\endcsname\ExplFileDate
+ \ifx\csname c__kernel_expl_date_tl\endcsname\relax
+ \global\let\c__kernel_expl_date_tl\ExplFileDate
\fi
\endgroup
%</2ekernel|generic>
More information about the latex3-commits
mailing list.