[latex3-commits] [latex3/latex3] main: Minor optimisaton (f29da27d1)

github at latex-project.org github at latex-project.org
Tue Oct 17 23:17:17 CEST 2023


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

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

commit f29da27d1ad53980dda131696dff531fcc55a1e2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Oct 17 22:17:11 2023 +0100

    Minor optimisaton
    
    Thanks to @skillmon.


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

f29da27d1ad53980dda131696dff531fcc55a1e2
 l3kernel/l3text-case.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3text-case.dtx b/l3kernel/l3text-case.dtx
index 6c9987016..e4f7f1530 100644
--- a/l3kernel/l3text-case.dtx
+++ b/l3kernel/l3text-case.dtx
@@ -308,10 +308,10 @@
     {#1} {#2} {#3} #4 \q_@@_recursion_stop
   }
 \cs_new:Npn \@@_change_case_break:w #1 \q_@@_recursion_stop
-  { \@@_change_case_break_aux:w ? #1 }
+  { \@@_change_case_break_aux:w \prg_do_nothing: #1 }
 \cs_new:Npn \@@_change_case_break_aux:w #1 \q_@@_recursion_tail
   {
-    \@@_change_case_store:o { \use_none:n #1 }
+    \@@_change_case_store:o {#1}
     \@@_change_case_end:w
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list.