[latex3-commits] [latex3/latex2e] ltproperties: change name of internal command (95111ee3)

github at latex-project.org github at latex-project.org
Mon Sep 11 18:26:39 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : ltproperties
Link       : https://github.com/latex3/latex2e/commit/95111ee30311a32dd08a9940944c5de717a792d1

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

commit 95111ee30311a32dd08a9940944c5de717a792d1
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Sep 11 18:26:39 2023 +0200

    change name of internal command


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

95111ee30311a32dd08a9940944c5de717a792d1
 base/ltproperties.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/base/ltproperties.dtx b/base/ltproperties.dtx
index e792451e..96063f59 100644
--- a/base/ltproperties.dtx
+++ b/base/ltproperties.dtx
@@ -473,7 +473,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \property_new:nnnn #1#2#3#4
   {
-    \cs_if_free:cTF { @@_name_ #1 : }
+    \cs_if_free:cTF { @@_code_ #1 : }
       {
         \exp_args:Nx \@@_gset:nnnn { \tl_to_str:n {#1} }
          {#2} {#3} {#4}
@@ -489,7 +489,7 @@
   }
 \cs_new_protected:Npn \@@_gset:nnnn #1#2#3#4
   {
-    \cs_gset:cpn { @@_name_ #1 : } {#4}
+    \cs_gset:cpn { @@_code_ #1 : } {#4}
     \tl_gclear_new:c { g_@@_default_ #1 _tl }
     \tl_gset:cn { g_@@_default_ #1 _tl } {#3}
     \bool_if_exist:cF { g_@@_shipout_ #1 _tl }
@@ -551,14 +551,14 @@
   { \@@_record_value_aux:e { \tl_to_str:n {#1} } }
 \cs_new:Npn \@@_record_value_aux:n #1
   {
-    \cs_if_exist:cTF { @@_name_ #1 : }
+    \cs_if_exist:cTF { @@_code_ #1 : }
       {
         {#1}
         {
           \bool_if:cTF { g_@@_shipout_ #1 _tl }
             { \exp_not:c }
             { \use:c }
-              { @@_name_ #1 : }
+              { @@_code_ #1 : }
         }
       }
       { \msg_expandable_error:nnn { property } { not-declared } {#1} }
@@ -703,7 +703,7 @@
 \prg_new_conditional:Npnn \property_if_exist:n #1 { p , T , F,  TF }  
   % #1 property
   {
-    \cs_if_exist:cTF { @@_name_ #1 : }
+    \cs_if_exist:cTF { @@_code_ #1 : }
       {
         \prg_return_true:
       }





More information about the latex3-commits mailing list.