[latex3-commits] [git/LaTeX3-latex3-latex3] main: Drop an unused internal arg. (38ecf7ed5)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Oct 28 14:37:58 CEST 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/38ecf7ed5d462628ab1ff56f707fc246dcf9d65d

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

commit 38ecf7ed5d462628ab1ff56f707fc246dcf9d65d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Oct 28 13:37:58 2022 +0100

    Drop an unused internal arg.


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

38ecf7ed5d462628ab1ff56f707fc246dcf9d65d
 l3kernel/l3color.dtx | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/l3kernel/l3color.dtx b/l3kernel/l3color.dtx
index 027737ea6..0869aebe6 100644
--- a/l3kernel/l3color.dtx
+++ b/l3kernel/l3color.dtx
@@ -2168,31 +2168,31 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{\@@_model_init:nnnn, \@@_model_init:nnnx}
+% \begin{macro}{\@@_model_init:nnn, \@@_model_init:nnx}
 %   A shared auxiliary to do the basics of setting up a new model: reserve a
 %   number, create a white-equivalent, set up links to the backend.
 %    \begin{macrocode}
-\cs_new_protected:Npn \@@_model_init:nnnn #1#2#3#4
+\cs_new_protected:Npn \@@_model_init:nnn #1#2#3
   {
     \int_gincr:N \g_@@_model_int
     \clist_map_inline:nn { fill , stroke , select }
       {
         \cs_new_protected:cpx { @@_backend_ ##1 _ #1 :n } ####1
           {
-            \exp_not:c { @@_backend_ ##1 _ #3 :nn }
+            \exp_not:c { @@_backend_ ##1 _ #2 :nn }
               { color \int_use:N \g_@@_model_int } {####1}
           }
       }
     \cs_new_protected:cpx { @@_model_ #1 _white: }
       {
         \prop_put:Nnn \exp_not:N \l_@@_named_white_prop {#1}
-        { \exp_not:n {#4} }
+          { \exp_not:n {#3} }
         \exp_not:N \int_compare:nNnF { \tex_currentgrouplevel:D } = 0
           { \group_insert_after:N \exp_not:c { @@_model_ #1 _ white: } }
       }
     \use:c { @@_model_ #1 _white: }
   }
-\cs_generate_variant:Nn \@@_model_init:nnnn { nnnx }
+\cs_generate_variant:Nn \@@_model_init:nnn { nnx }
 %    \end{macrocode}
 % \end{macro}
 %
@@ -2275,7 +2275,7 @@
 \cs_new_protected:Npn \@@_model_separation:w
   #1 , #2 , #3 , #4 , #5 \s_@@_stop #6#7#8
   {
-    \@@_model_init:nnnn {#6} { 1 } { separation } { 0 }
+    \@@_model_init:nnn {#6} { separation } { 0 }
     \cs_new_eq:cN { @@_parse_mix_ #6 :nw } \@@_parse_mix_gray:nw
     \cs_new:cpn { @@_parse_model_ #6 :w } ##1 , ##2 \s_@@_stop
       { {#6} { \@@_parse_number:n {##1} } }
@@ -2504,7 +2504,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_model_devicen:nnnn #1#2#3#4
   {
-    \@@_model_init:nnnx {#4} {#1} { devicen }
+    \@@_model_init:nnx {#4} { devicen }
       {
         0 \prg_replicate:nn { #1 - 1 } { ~ 0 }
       }
@@ -2954,7 +2954,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_model_iccbased_aux:nnnnnn #1#2#3#4#5#6
   {
-    \@@_model_init:nnnn {#5} {#1} { iccbased } {#3}
+    \@@_model_init:nnn {#5} { iccbased } {#3}
     \tl_const:cn { c_@@_fallback_ #5 _tl } { gray }
     \cs_new:cpn { @@_convert_ #5 _gray:w } ##1 \s_@@_stop { 0 }
     \cs_new:cpn { @@_convert_gray_ #5 :w } ##1 \s_@@_stop { #2 }





More information about the latex3-commits mailing list.