[latex3-commits] [git/LaTeX3-latex3-latex2e] keyval-detect: Add missing \exp_after:wN (02a73033)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Aug 31 08:27:16 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : keyval-detect
Link       : https://github.com/latex3/latex2e/commit/02a7303314e3889320072e2ff4c108bc3ceece28

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

commit 02a7303314e3889320072e2ff4c108bc3ceece28
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun Aug 28 23:54:04 2022 -0300

    Add missing \exp_after:wN


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

02a7303314e3889320072e2ff4c108bc3ceece28
 base/ltcmd.dtx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index aa1dea20..3dcff6c1 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -3983,7 +3983,9 @@
 %     \begin{macrocode}
 \cs_new_protected:Npn \@@_arg_to_keyvalue:nn #1#2
   {
-    \str_if_eq:eeTF { \exp_not:n {#2} } { \exp_not:o { { \use:n #2 } } }
+    \str_if_eq:eeTF
+        { \exp_not:n {#2} }
+        { \exp_not:o { \exp_after:wN { \use:n #2 } } }
       { \tl_set:Nn \ProcessedArgument { #1 = #2 } }
       {
         \exp_args:Ne \@@_arg_to_keyvalue_auxi:nnn





More information about the latex3-commits mailing list.