[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: if detokenize not ifx to test empty (f3eb91e7)
David Carlisle
d.p.carlisle at gmail.com
Sun Nov 10 11:08:11 CET 2019
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/f3eb91e7caeb736efb2d438a11611d90ff8768fc
>---------------------------------------------------------------
commit f3eb91e7caeb736efb2d438a11611d90ff8768fc
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sun Nov 10 10:08:11 2019 +0000
if detokenize not ifx to test empty
>---------------------------------------------------------------
f3eb91e7caeb736efb2d438a11611d90ff8768fc
base/ltmiscen.dtx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/ltmiscen.dtx b/base/ltmiscen.dtx
index 263ed9b9..21fe19f0 100644
--- a/base/ltmiscen.dtx
+++ b/base/ltmiscen.dtx
@@ -383,7 +383,7 @@
% \changes{v1.1q}{2019/10/25}{Allow unbalanced conditionals in \texttt{\#1} (gh/202)}
% \changes{v1.1r}{2019/08/27}{fix to special comment catcodes (gh/202)}
% \begin{macrocode}
- {\ifx!#2!\expandafter\dont at add@percent at to@temptokena\else
+ {\if X\detokenize{#2}X\expandafter\dont at add@percent at to@temptokena\else
\expandafter\do at add@percent at to@temptokena\fi{#1}}
% \end{macrocode}
%
More information about the latex3-commits
mailing list