[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: ifx detokenize not if to test empty (6e22a4ca)

David Carlisle d.p.carlisle at gmail.com
Sun Nov 10 11:14:00 CET 2019


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/6e22a4ca0db0b70663654937c5b34bfcdd36e40c

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

commit 6e22a4ca0db0b70663654937c5b34bfcdd36e40c
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Nov 10 10:14:00 2019 +0000

    ifx detokenize not if to test empty


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

6e22a4ca0db0b70663654937c5b34bfcdd36e40c
 base/ltmiscen.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/ltmiscen.dtx b/base/ltmiscen.dtx
index 21fe19f0..a98d0aaf 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}
-    {\if X\detokenize{#2}X\expandafter\dont at add@percent at to@temptokena\else
+    {\expandafter\ifx\expandafter 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