[latex3-commits] [git/LaTeX3-latex3-latex3] master: Avoid a one-use internal (a95a7e6)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Apr 23 08:40:52 CEST 2018


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

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

commit a95a7e66389c55ae105a5593f879a93448ee512d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Apr 23 07:40:52 2018 +0100

    Avoid a one-use internal
    
    Still some discussion to be had here on the best approach.


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

a95a7e66389c55ae105a5593f879a93448ee512d
 l3kernel/l3basics.dtx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3basics.dtx b/l3kernel/l3basics.dtx
index 9883165..41893ec 100644
--- a/l3kernel/l3basics.dtx
+++ b/l3kernel/l3basics.dtx
@@ -1447,12 +1447,11 @@
 %<@@=use>
 %    \end{macrocode}
 %
-% \begin{macro}[EXP]{\use_x:n, \@@_x:n}
+% \begin{macro}[EXP]{\use_x:n}
 %   A candidate, but needed early as it links to string comparisons.
 %   Currently \LuaTeX-only.
 %    \begin{macrocode}
-\tex_let:D \@@_x:n \luatex_expanded:D
-\cs_set:Npn \use_x:n #1 { \@@_x:n {#1} }
+\cs_set:Npn \use_x:n #1 { \luatex_expanded:D {#1} }
 %    \end{macrocode}
 % \end{macro}
 %





More information about the latex3-commits mailing list