[latex3-commits] [git/LaTeX3-latex3-latex2e] 2019-10-01-PL3: avoid needing two xdef in setting \@curr at file (e5c4d4bd)
David Carlisle
d.p.carlisle at gmail.com
Sat Nov 9 17:16:57 CET 2019
Repository : https://github.com/latex3/latex2e
On branch : 2019-10-01-PL3
Link : https://github.com/latex3/latex2e/commit/e5c4d4bdb6ccd083082889350547fd88806fe891
>---------------------------------------------------------------
commit e5c4d4bdb6ccd083082889350547fd88806fe891
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sat Nov 9 16:16:57 2019 +0000
avoid needing two xdef in setting \@curr at file
>---------------------------------------------------------------
e5c4d4bdb6ccd083082889350547fd88806fe891
base/ltfiles.dtx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/base/ltfiles.dtx b/base/ltfiles.dtx
index 9c8b634f..88d8a586 100644
--- a/base/ltfiles.dtx
+++ b/base/ltfiles.dtx
@@ -725,9 +725,10 @@
\begingroup
\escapechar\m at ne
\xdef\@curr at file{%
+ \expandafter\expandafter\expandafter\unquote at name
+ \expandafter\expandafter\expandafter{%
\expandafter\string
- \csname\@firstofone#1\@empty\endcsname}%
- \xdef\@curr at file{\expandafter\unquote at name\expandafter{\@curr at file}}%
+ \csname\@firstofone#1\@empty\endcsname}}%
\endgroup
}
% \end{macrocode}
More information about the latex3-commits
mailing list