[latex3-commits] [git/LaTeX3-latex3-latex3] master: Avoid useless \int_eval:n applied to \int_min:nn (9bdfe4f)

Bruno Le Floch bruno at le-floch.fr
Fri Mar 30 04:13:50 CEST 2018


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

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

commit 9bdfe4fccecd93200cf84f02675f2570670023bf
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Thu Mar 29 22:13:50 2018 -0400

    Avoid useless \int_eval:n applied to \int_min:nn


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

9bdfe4fccecd93200cf84f02675f2570670023bf
 l3experimental/xgalley/l3galley.dtx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/l3experimental/xgalley/l3galley.dtx b/l3experimental/xgalley/l3galley.dtx
index 3f2e371..427e08d 100644
--- a/l3experimental/xgalley/l3galley.dtx
+++ b/l3experimental/xgalley/l3galley.dtx
@@ -1584,7 +1584,7 @@
       }
       {
         \tex_penalty:D
-          \int_eval:n { \g_@@_interpar_penalty_user_tl }
+          \int_eval:n { \g_@@_interpar_penalty_user_tl } \exp_stop_f:
         \tl_gclear:N \g_@@_interpar_penalty_user_tl
       }
     \bool_gset_false:N \g_galley_no_break_next_bool
@@ -1863,8 +1863,7 @@
 \cs_new_protected:Npn \@@_parshape_set_indents:NN #1#2
   {
     \tex_parshape:D
-      \int_eval:n
-        { \int_min:nn { \seq_count:N #1 } { \seq_count:N #2 } }
+      \int_min:nn { \seq_count:N #1 } { \seq_count:N #2 }
       \exp_stop_f:
       \seq_mapthread_function:NNN #1 #2
         \@@_parshape_set_indents:nn





More information about the latex3-commits mailing list