[latex3-commits] [git/LaTeX3-latex3-latex2e] master: update tests in filecontents for \@ifundefined change (4d28fec)
David Carlisle
d.p.carlisle at gmail.com
Tue May 29 23:05:37 CEST 2018
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/4d28fecd8b287cd4f04a87bc85fb7a72ea28ec05
>---------------------------------------------------------------
commit 4d28fecd8b287cd4f04a87bc85fb7a72ea28ec05
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Tue May 29 22:05:37 2018 +0100
update tests in filecontents for \@ifundefined change
>---------------------------------------------------------------
4d28fecd8b287cd4f04a87bc85fb7a72ea28ec05
base/changes.txt | 4 ++++
base/ltclass.dtx | 7 ++++---
base/ltvers.dtx | 2 +-
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index b7851d8..4b10049 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -4,6 +4,10 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
=======================================================================
+2018-05-29 David Carlisle <David.Carlisle at latex-project.org>
+
+ * ltclass.dtx: use \csname test rather than \@ifundefined to get \relax side effect.
+
#########################
# 2018-04-01 PL 5 Release
#########################
diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 199d839..abc50d1 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltclass.dtx}
- [2018/05/08 v1.2i LaTeX Kernel (Class & Package Interface)]
+ [2018/05/29 v1.2j LaTeX Kernel (Class & Package Interface)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltclass.dtx}
@@ -1820,13 +1820,14 @@
^^M}%
% \end{macrocode}
%
+% \changes{v1.2j}{2018/05/29}{use \cs{csname} not \cs{@undefined}}
% \begin{macrocode}
\catcode`\^^L\active%
\let\L\@undefined%
- \def^^L{\@ifundefined L^^J^^J^^J}%
+ \def^^L{\expandafter\ifx\csname L\endcsname\relax\fi ^^J^^J}%
\catcode`\^^I\active%
\let\I\@undefined%
- \def^^I{\@ifundefined I\space\space}%
+ \def^^I{\expandafter\ifx\csname I\endcsname\relax\fi\space}%
\catcode`\^^M\active%
\edef^^M##1^^M{%
\noexpand\reserved at b##1\E\E\relax}}%
diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index cb20769..9491c55 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -115,7 +115,7 @@
{2018-04-01}
%</2ekernel|latexrelease>
%<*2ekernel>
-\def\patch at level{5}
+\def\patch at level{-6}
% \end{macrocode}
% \end{macro}
% \end{macro}
More information about the latex3-commits
mailing list