[latex3-commits] [git/LaTeX3-latex3-latex3] master: End-of-coffin function should be local (e92224e)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Jan 25 09:09:56 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/e92224ea4b5472fafca180a121921c034a12e56c

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

commit e92224ea4b5472fafca180a121921c034a12e56c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Jan 25 08:09:56 2019 +0000

    End-of-coffin function should be local


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

e92224ea4b5472fafca180a121921c034a12e56c
 l3kernel/l3coffins.dtx |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/l3kernel/l3coffins.dtx b/l3kernel/l3coffins.dtx
index 48f43a7..e4932c1 100644
--- a/l3kernel/l3coffins.dtx
+++ b/l3kernel/l3coffins.dtx
@@ -706,7 +706,7 @@
     \@@_if_exist:NT #1
       {
         \hbox_gset:Nw #1 \color_ensure_current:
-          \cs_gset_protected:Npn \hcoffin_gset_end:
+          \cs_set_protected:Npn \hcoffin_gset_end:
             {
               \hbox_gset_end:
               \@@_gupdate:N #1
@@ -722,25 +722,25 @@
 %
 % \begin{macro}
 %   {\vcoffin_set:Nnw, \vcoffin_set:cnw, \vcoffin_gset:Nnw, \vcoffin_gset:cnw}
-% \begin{macro}{\@@_set_vertical:NnNNNNNw}
+% \begin{macro}{\@@_set_vertical:NnNNNNw}
 % \begin{macro}{\vcoffin_set_end:, \vcoffin_gset_end:}
 %   The same for vertical coffins.
 %    \begin{macrocode}
 \cs_new_protected:Npn \vcoffin_set:Nnw #1#2
   {
-    \@@_set_vertical:NnNNNNNw #1 {#2} \vbox_set:Nw
-      \cs_set_protected:Npn \vcoffin_set_end:
+    \@@_set_vertical:NnNNNNw #1 {#2} \vbox_set:Nw
+      \vcoffin_set_end:
       \vbox_set_end: \@@_update:N
   }
 \cs_generate_variant:Nn \vcoffin_set:Nnw { c }
 \cs_new_protected:Npn \vcoffin_gset:Nnw #1#2
   {
-    \@@_set_vertical:NnNNNNNw #1 {#2} \vbox_gset:Nw
-      \cs_gset_protected:Npn \vcoffin_gset_end:
+    \@@_set_vertical:NnNNNNw #1 {#2} \vbox_gset:Nw
+      \vcoffin_gset_end:
       \vbox_gset_end: \@@_gupdate:N
   }
 \cs_generate_variant:Nn \vcoffin_gset:Nnw { c }
-\cs_new_protected:Npn \@@_set_vertical:NnNNNNNw #1#2#3#4#5#6#7
+\cs_new_protected:Npn \@@_set_vertical:NnNNNNw #1#2#3#4#5#6
   {
     \@@_if_exist:NT #1
       {
@@ -750,10 +750,10 @@
             \dim_set_eq:NN \linewidth   \tex_hsize:D
             \dim_set_eq:NN \columnwidth \tex_hsize:D
 %</package>
-          #4 #5
+          \cs_set_protected:Npn #4
             {
-              #6
-              #7 #1
+              #5
+              #6 #1
               \vbox_set_top:Nn \l_@@_internal_box { \vbox_unpack:N #1 }
               \@@_set_pole:Nnx #1 { T }
                 {





More information about the latex3-commits mailing list