[latex3-commits] [git/LaTeX3-latex3-latex2e] master: Expand min date when passing (90e4ec9)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Apr 8 18:33:19 CEST 2018


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/90e4ec9fadec7ed08381ad00f973a83d0d742492

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

commit 90e4ec9fadec7ed08381ad00f973a83d0d742492
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Apr 8 17:33:19 2018 +0100

    Expand min date when passing


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

90e4ec9fadec7ed08381ad00f973a83d0d742492
 base/ltclass.dtx |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 47ad89b..4c383a6 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltclass.dtx}
-             [2018/04/08 v1.2g LaTeX Kernel (Class & Package Interface)]
+             [2018/04/08 v1.2h LaTeX Kernel (Class & Package Interface)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltclass.dtx}
@@ -1951,6 +1951,7 @@
 %
 %  \begin{macro}{\load at onefilewithoptions}
 %  \begin{macro}{\@onefilewithoptions}
+%   \changes{v1.2h}{2018-04-08}{Pass expanded date}
 %    the best place to add the rollback code is at the point where
 %    |\@onefilewithoptions| is called to load a single class or
 %    package.
@@ -2001,7 +2002,13 @@
 %    necessarily a ``minimal date'' so instead of passing it on we
 %    pass on |\pkgcls at mindate|.
 %    \begin{macrocode}
-  \load at onefilewithoptions#1[#2][\pkgcls at mindate]#4%
+  \begingroup
+  \edef\reserved at a{%
+    \endgroup
+    \unexpanded{\load at onefilewithoptions#1[#2]}%
+    [\pkgcls at mindate]%
+    \unexpanded{#4}}%
+   \reserved at a
  }
 \fi
 %    \end{macrocode}





More information about the latex3-commits mailing list