[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Better expansion support (80279c63)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 16 23:16:44 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/80279c6301d207feb694b7e81a5e1121a414c647

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

commit 80279c6301d207feb694b7e81a5e1121a414c647
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Feb 16 22:16:44 2022 +0000

    Better expansion support


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

80279c6301d207feb694b7e81a5e1121a414c647
 base/ltkeys.dtx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/base/ltkeys.dtx b/base/ltkeys.dtx
index 23927c09..8f366a8b 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -387,7 +387,9 @@
 \cs_new_protected:Npn \@@_options_expand_module:Nn #1#2
   {
     \cs:w @@_options_expand_module:nN \exp_after:wN \cs_end:
-      \exp_after:wN { \exp:w \exp_end_continue_f:w #2 } #1
+      \exp_after:wN
+        { \exp:w \exp_end_continue_f:w \exp_args:Ne \use:n {#2} }
+        #1
   }
 \cs_new_protected:Npn \@@_options_expand_module:nN #1#2
   { #2 {#1} }





More information about the latex3-commits mailing list.