[latex3-commits] [git/LaTeX3-latex3-latex2e] gh217: Replace \tl_trim_spaces:n by \tl_trim_spaces_apply:nN (aea0df31)
PhelypeOleinik
tex.phelype at gmail.com
Tue May 5 19:44:04 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : gh217
Link : https://github.com/latex3/latex2e/commit/aea0df3196018f6e23bf4cf32a576550b69a2f8b
>---------------------------------------------------------------
commit aea0df3196018f6e23bf4cf32a576550b69a2f8b
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date: Tue May 5 14:44:04 2020 -0300
Replace \tl_trim_spaces:n by \tl_trim_spaces_apply:nN
>---------------------------------------------------------------
aea0df3196018f6e23bf4cf32a576550b69a2f8b
base/ltexpl.dtx | 16 +++++++---------
base/ltfiles.dtx | 2 +-
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/base/ltexpl.dtx b/base/ltexpl.dtx
index fb61bb23..5e726298 100644
--- a/base/ltexpl.dtx
+++ b/base/ltexpl.dtx
@@ -119,25 +119,24 @@
% \begin{macrocode}
%<*2ekernel|latexrelease>
%<latexrelease>\IncludeInRelease{2020/10/01}%
-%<latexrelease> {\@expl at tl@trim at spaces@@n}
+%<latexrelease> {\@expl at tl@trim at spaces@apply@@nN}
%<latexrelease> {l3 macro for use in include}%
% \end{macrocode}
% In order to ease the implemantation of some new features in
% \LaTeXe\ we may (temporarily) use some coding based on the
-% expl3-code.
+% \pkg{expl3}-code.
% Such macros will eventually vanish and may be changed
% unannounced. They are there for internal use in the \LaTeXe\
% kernel and are not meant to be used in third-party
-% packages. These macros will always have \verb|@expl@| in their
-% name.
+% packages. These macros will always have the \verb|@expl@|
+% prefix in their name.
%
% \changes{v1.2a}{2020/05/02}
% {Define a macro based on l3 language to support inclusion of
% files with space in the name (gh/217)}
% \begin{macrocode}
\ExplSyntaxOn
-\cs_new_eq:NN \@expl at tl@trim at spaces@@n \tl_trim_spaces:n
-\cs_new_eq:NN \@expl at exp@args@@Ne \exp_args:Ne
+\cs_new_eq:NN \@expl at tl@trim at spaces@apply@@nN \tl_trim_spaces_apply:nN
\ExplSyntaxOff
% \end{macrocode}
%
@@ -145,11 +144,10 @@
%</2ekernel|latexrelease>
%<latexrelease>\EndIncludeInRelease
%<latexrelease>\IncludeInRelease{0000/00/00}%
-%<latexrelease> {\@expl at tl@trim at spaces@@n}
+%<latexrelease> {\@expl at tl@trim at spaces@apply@@nN}
%<latexrelease> {l3 macro for use in include}%
%<latexrelease>
-%<latexrelease>\let\@expl at tl@trim at spaces@@n\@undefined
-%<latexrelease>\let\@expl at exp@args@@Ne\@undefined
+%<latexrelease>\let\@expl at tl@trim at spaces@apply@@nN\@undefined
%<latexrelease>
%<latexrelease>\EndIncludeInRelease
%<*2ekernel>
diff --git a/base/ltfiles.dtx b/base/ltfiles.dtx
index af221e35..8e9611d9 100644
--- a/base/ltfiles.dtx
+++ b/base/ltfiles.dtx
@@ -620,7 +620,7 @@
% language, \textbf{\emph{beware}: this may change unannounced}.
% \begin{macrocode}
\def\set at curr@file at trim@spaces#1{%
- \@expl at exp@args@@Ne \set at curr@file {\@expl at tl@trim at spaces@@n {#1}}}
+ \@expl at tl@trim at spaces@apply@@nN {#1} \set at curr@file }
% \end{macrocode}
% \end{macro}
%
More information about the latex3-commits
mailing list.