[latex3-commits] [git/LaTeX3-latex3-latex2e] master: ifx detokenize not if to test empty (69d49290)

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


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/69d492900caab8b1bfab0cb14cfc27eef50c3794

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

commit 69d492900caab8b1bfab0cb14cfc27eef50c3794
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Nov 10 10:15:11 2019 +0000

    ifx detokenize not if to test empty


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

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

diff --git a/base/ltmiscen.dtx b/base/ltmiscen.dtx
index e122b459..61e44e5e 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