[latex3-commits] [git/LaTeX3-latex3-latex2e] gh617: protect raw option list from edef (original option list is expanded later) (2a2abda1)

David Carlisle d.p.carlisle at gmail.com
Mon Jul 12 22:32:52 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh617
Link       : https://github.com/latex3/latex2e/commit/2a2abda132b3a4b1043d1878a69126a1fd59ba5e

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

commit 2a2abda132b3a4b1043d1878a69126a1fd59ba5e
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Mon Jul 12 21:32:52 2021 +0100

    protect raw option list from edef (original option list is expanded later)


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

2a2abda132b3a4b1043d1878a69126a1fd59ba5e
 base/ltclass.dtx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 643587b0..d70604cd 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltclass.dtx}
-             [2021/06/09 v1.4c LaTeX Kernel (Class & Package Interface)]
+             [2021/07/12 v1.4d LaTeX Kernel (Class & Package Interface)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltclass.dtx}
@@ -1979,8 +1979,9 @@
         \ifx\@nnil##1\@nnil\else
 %    \end{macrocode}
 %
+% \changes{v1.4d}{2021/07/12}{add \cs{unexpanded}}
 %    \begin{macrocode}
-         \noexpand\@onefilewithoptions##1[{#2}][{#4}]%
+         \noexpand\@onefilewithoptions##1[{\unexpanded{#2}}][{#4}]%
          \noexpand\@pkgextension
         \fi
         \expandafter\reserved at b





More information about the latex3-commits mailing list.