Skip to content
Permalink
Browse files
Expand min date when passing
  • Loading branch information
josephwright committed Apr 8, 2018
1 parent 724013b commit 90e4ec9fadec7ed08381ad00f973a83d0d742492
Showing with 9 additions and 2 deletions.
  1. +9 −2 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@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@mindate|.
% \begin{macrocode}
\load@onefilewithoptions#1[#2][\pkgcls@mindate]#4%
\begingroup
\edef\reserved@a{%
\endgroup
\unexpanded{\load@onefilewithoptions#1[#2]}%
[\pkgcls@mindate]%
\unexpanded{#4}}%
\reserved@a
}
\fi
% \end{macrocode}

0 comments on commit 90e4ec9

Please sign in to comment.