[latex3-commits] [git/LaTeX3-latex3-latex3] main: Use \cs_if_exist_use:cTF (d73468df5)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jan 10 14:53:09 CET 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/d73468df55ea9272b3eab4089743a96df6be70a6

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

commit d73468df55ea9272b3eab4089743a96df6be70a6
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue Oct 26 13:40:36 2021 +0200

    Use \cs_if_exist_use:cTF


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

d73468df55ea9272b3eab4089743a96df6be70a6
 l3kernel/l3color.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3color.dtx b/l3kernel/l3color.dtx
index 99d62953d..b9b296be7 100644
--- a/l3kernel/l3color.dtx
+++ b/l3kernel/l3color.dtx
@@ -656,8 +656,8 @@
   {
     \tl_set:Nx #4
       {
-        \cs_if_exist:cTF { @@_convert_ #1 _ #2 :w }
-          { \use:c { @@_convert_ #1 _ #2 :w } #3 \s_@@_stop }
+        \cs_if_exist_use:cTF { @@_convert_ #1 _ #2 :w }
+          { #3 \s_@@_stop }
           { \use:c { c_@@_fallback_ #2 _tl } }
       }
   }





More information about the latex3-commits mailing list.