[latex3-commits] [git/LaTeX3-latex3-latex3] master: Color expressions are strings (a025172)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed May 15 09:06:23 CEST 2019
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/a02517283e64d8602652fcedce905788f35b8e59
>---------------------------------------------------------------
commit a02517283e64d8602652fcedce905788f35b8e59
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed May 15 08:06:23 2019 +0100
Color expressions are strings
Save a lot of expansion.
>---------------------------------------------------------------
a02517283e64d8602652fcedce905788f35b8e59
l3experimental/l3color/l3color.dtx | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/l3experimental/l3color/l3color.dtx b/l3experimental/l3color/l3color.dtx
index a2820af..0dfb56e 100644
--- a/l3experimental/l3color/l3color.dtx
+++ b/l3experimental/l3color/l3color.dtx
@@ -451,15 +451,7 @@
\driver_color_pickup:N \l_@@_current_tl
\tl_set_eq:cN { l_@@_named_ . _tl } \l_@@_current_tl
%</package>
- \group_begin:
- \seq_map_inline:Nn \l_char_active_seq
- {
- \tl_set:Nx \l_@@_internal_tl { \cs_to_str:N ##1 }
- \char_set_active_eq:NN ##1 \l_@@_internal_tl
- }
- \tl_set:Nx \l_@@_internal_tl {#1}
- \exp_args:NNV \group_end:
- \@@_parse:nN \l_@@_internal_tl #2
+ \exp_args:Ne \@@_parse:nN { \tl_to_str:n {#1} } #2
}
% \end{macrocode}
% Before going to all of the effort of parsing an expression, these two
More information about the latex3-commits
mailing list