[latex3-commits] [git/LaTeX3-latex3-latex2e] master: if detokenize not ifx to test empty (8f3434fb)
David Carlisle
d.p.carlisle at gmail.com
Sun Nov 10 11:07:04 CET 2019
Repository : https://github.com/latex3/latex2e
On branch : master
Link : https://github.com/latex3/latex2e/commit/8f3434fbe3c38e2c1bdb56365e3498260aeb6ca4
>---------------------------------------------------------------
commit 8f3434fbe3c38e2c1bdb56365e3498260aeb6ca4
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sun Nov 10 10:07:04 2019 +0000
if detokenize not ifx to test empty
>---------------------------------------------------------------
8f3434fbe3c38e2c1bdb56365e3498260aeb6ca4
base/ltmiscen.dtx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/ltmiscen.dtx b/base/ltmiscen.dtx
index 4324e5b1..e122b459 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