[latex3-commits] [git/LaTeX3-latex3-pdfresources] radiobuttons: rename command (fd0b29c)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed May 26 23:47:47 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : radiobuttons
Link       : https://github.com/latex3/pdfresources/commit/fd0b29cc219ed6ccd7ebbc5208e39aeb9427560d

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

commit fd0b29cc219ed6ccd7ebbc5208e39aeb9427560d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed May 26 23:47:47 2021 +0200

    rename command


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

fd0b29cc219ed6ccd7ebbc5208e39aeb9427560d
 l3pdffield-checkbox.dtx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/l3pdffield-checkbox.dtx b/l3pdffield-checkbox.dtx
index b856b10..ad026fa 100644
--- a/l3pdffield-checkbox.dtx
+++ b/l3pdffield-checkbox.dtx
@@ -385,14 +385,14 @@
 % module/\meta{name}/Yes and module/\meta{name}/Off.
 %  \begin{macro}
 %   {
-%    @@/checkbox/default_appearances:,
+%    \@@_checkbox_default_appearances:,
 %    pdffield/checkbox/default/Yes,
 %    pdffield/checkbox/default/Off
 %   }
 %  This defines the standard appearance. It is setup at the first
 %  use of a checkbox, and will adapt to the font family in use then.
 %    \begin{macrocode}
-\cs_new_protected:cpn {@@/checkbox/default_appearances:}
+\cs_new_protected:Npn \@@_checkbox_default_appearances:
   {
      \pdffield_appearance:nn {pdffield/checkbox/default/Yes}
        {
@@ -410,7 +410,7 @@
            [ \dim_eval:n { \box_ht:N\strutbox+\box_dp:N\strutbox } ]
            { \phantom{\texttimes} \strut }
        }
-    \cs_gset_eq:cN {@@/checkbox/default_appearances:} \prg_do_nothing:
+    \cs_gset_eq:NN \@@_checkbox_default_appearances: \prg_do_nothing:
   }
 %    \end{macrocode}
 % \end{macro}
@@ -437,7 +437,7 @@
 \cs_new_protected:Npn \@@_checkbox:n #1
   {
     \group_begin:
-    \use:c {@@/checkbox/default_appearances:}
+    \@@_checkbox_default_appearances:
     \cs_set_eq:NN\@@_appearance_handler:nnn \@@_checkbox_appearance_handler:nnn
     \cs_set_eq:NN\@@_value_handler:n   \@@_checkbox_value_handler:n
     \cs_set_eq:NN\@@_default_handler:n \@@_checkbox_default_handler:n





More information about the latex3-commits mailing list.