[latex3-commits] [latex3/latex2e] unprotect-Usesocket: unprotect also the plug command (9b15517a)

github at latex-project.org github at latex-project.org
Sat Feb 10 00:17:58 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : unprotect-Usesocket
Link       : https://github.com/latex3/latex2e/commit/9b15517a28cd110bbf1d141255017fb15f92acc1

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

commit 9b15517a28cd110bbf1d141255017fb15f92acc1
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Feb 10 00:17:58 2024 +0100

    unprotect also the plug command


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

9b15517a28cd110bbf1d141255017fb15f92acc1
 base/ltsockets.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/base/ltsockets.dtx b/base/ltsockets.dtx
index 774a9cfb..59b887d3 100644
--- a/base/ltsockets.dtx
+++ b/base/ltsockets.dtx
@@ -835,7 +835,7 @@
           {
             \cs_generate_from_arg_count:cNnn
               { @@_#1_plug_#2:w }
-              \cs_new_protected:Npn
+              \cs_new:Npn
               { \int_use:c { c_@@_#1_args_int } }
               {#3}
 %    \end{macrocode}
@@ -863,7 +863,7 @@
           {
             \cs_generate_from_arg_count:cNnn
               { @@_#1_plug_#2:w }
-              \cs_set_protected:Npn
+              \cs_set:Npn
               { \int_use:c { c_@@_#1_args_int } }
               {#3}
             \@@_debug_term:n
@@ -921,9 +921,9 @@
 %
 %    \begin{macrocode}
 \cs_new:Npn \socket_use:nw #1 {
-  \@@_debug_term:n
-    { Socket~ '#1'~ containing~ plug~
-      '\str_use:c { l_@@_#1_plug_str }'~ used. }
+%  \@@_debug_term:n
+%    { Socket~ '#1'~ containing~ plug~
+%      '\str_use:c { l_@@_#1_plug_str }'~ used. }
   \use:c { @@_#1_plug_ \str_use:c { l_@@_#1_plug_str } :w }
 }
 %    \end{macrocode}





More information about the latex3-commits mailing list.