[latex3-commits] [git/LaTeX3-latex3-latex3] master: \special does e-type expansion (bd413bc)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jun 18 18:40:51 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/bd413bc7452935862767d960da36a7b0ee8a6130

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

commit bd413bc7452935862767d960da36a7b0ee8a6130
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Jun 18 17:40:51 2018 +0100

    \special does e-type expansion


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

bd413bc7452935862767d960da36a7b0ee8a6130
 l3kernel/l3drivers.dtx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 5298735..fe5276c 100644
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -514,14 +514,14 @@
 %     takes most of the same code.
 % \end{itemize}
 %
-% \begin{macro}{\@@_literal_x:n, \@@_literal:n, \@@_literal:x}
+% \begin{macro}{\@@_literal:e, \@@_literal:n, \@@_literal:x}
 %  The one shared function for all drivers is access to the basic
 %  \tn{special} primitive: it has slightly odd expansion behaviour
 %  so a wrapper is provided.
 %    \begin{macrocode}
-\cs_new_eq:NN \@@_literal_x:n \tex_special:D
+\cs_new_eq:NN \@@_literal:e \tex_special:D
 \cs_new_protected:Npn \@@_literal:n #1
-  { \@@_literal_x:n { \exp_not:n {#1} } }
+  { \@@_literal:e { \exp_not:n {#1} } }
 \cs_generate_variant:Nn \@@_literal:n { x }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list