[latex3-commits] [git/LaTeX3-latex3-latex3] fallback-model: Use \cs_if_exist_use:cTF (7c2fba443)

Marcel Fabian Krüger tex at 2krueger.de
Tue Oct 26 17:32:09 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : fallback-model
Link       : https://github.com/latex3/latex3/commit/7c2fba443181d8beb75034f5c57884cf74de1f20

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

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

    Use \cs_if_exist_use:cTF


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

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

diff --git a/l3kernel/l3color.dtx b/l3kernel/l3color.dtx
index e9260ab3c..c661f3a3c 100644
--- a/l3kernel/l3color.dtx
+++ b/l3kernel/l3color.dtx
@@ -653,8 +653,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.