[latex3-commits] [git/LaTeX3-latex3-latex3] master: no unnecessary exp_not: in tl_put_right (ed16622b0)

Bruno Le Floch blflatex at gmail.com
Tue Oct 27 09:11:58 CET 2020


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

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

commit ed16622b003f9adf25ef1850eedeab078efe0d06
Author: Jonathan Spratte <jspratte at yahoo.de>
Date:   Sat Aug 8 01:38:31 2020 +0200

    no unnecessary exp_not: in tl_put_right


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

ed16622b003f9adf25ef1850eedeab078efe0d06
 l3kernel/l3tl.dtx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index 92362c4d6..48bbc7fe9 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -1495,7 +1495,7 @@
 % The same on the right.
 %    \begin{macrocode}
 \cs_new_protected:Npn \tl_put_right:Nn #1#2
-  { \cs_set_nopar:Npx #1 { \exp_not:o #1 \exp_not:n {#2} } }
+  { \cs_set_nopar:Npx #1 { \exp_not:o { #1 #2 } } }
 \cs_new_protected:Npn \tl_put_right:NV #1#2
   { \cs_set_nopar:Npx #1 { \exp_not:o #1 \exp_not:V #2 } }
 \cs_new_protected:Npn \tl_put_right:No #1#2
@@ -1503,13 +1503,13 @@
 \cs_new_protected:Npn \tl_put_right:Nx #1#2
   { \cs_set_nopar:Npx #1 { \exp_not:o #1 #2 } }
 \cs_new_protected:Npn \tl_gput_right:Nn #1#2
-  { \cs_gset_nopar:Npx #1 { \exp_not:o #1 \exp_not:n {#2} } }
+  { \cs_gset_nopar:Npx #1 { \exp_not:o { #1 #2 } } }
 \cs_new_protected:Npn \tl_gput_right:NV #1#2
   { \cs_gset_nopar:Npx #1 { \exp_not:o #1 \exp_not:V #2 } }
 \cs_new_protected:Npn \tl_gput_right:No #1#2
   { \cs_gset_nopar:Npx #1 { \exp_not:o #1 \exp_not:o {#2} } }
 \cs_new_protected:Npn \tl_gput_right:Nx #1#2
-  { \cs_gset_nopar:Npx #1 { \exp_not:o {#1} #2 } }
+  { \cs_gset_nopar:Npx #1 { \exp_not:o #1 #2 } }
 \cs_generate_variant:Nn \tl_put_right:Nn  { c }
 \cs_generate_variant:Nn \tl_put_right:NV  { c }
 \cs_generate_variant:Nn \tl_put_right:No  { c }





More information about the latex3-commits mailing list.