[latex3-commits] [git/LaTeX3-latex3-latex3] peek-refactor: Document that \noexpand doesn't 'work' for \peek_remove_filler:n (33925fa8b)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Jan 11 14:42:52 CET 2022
Repository : https://github.com/latex3/latex3
On branch : peek-refactor
Link : https://github.com/latex3/latex3/commit/33925fa8bc5d44572aa46bf838c478eaadff3538
>---------------------------------------------------------------
commit 33925fa8bc5d44572aa46bf838c478eaadff3538
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Jan 11 13:42:52 2022 +0000
Document that \noexpand doesn't 'work' for \peek_remove_filler:n
This happens as we have a two-step process: first
using \romannumeral and then using \futurelet. If we
want to allow \noexpand we have to only use \futurelet.
>---------------------------------------------------------------
33925fa8bc5d44572aa46bf838c478eaadff3538
l3kernel/l3token.dtx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/l3kernel/l3token.dtx b/l3kernel/l3token.dtx
index 76541760b..644a01d8c 100644
--- a/l3kernel/l3token.dtx
+++ b/l3kernel/l3token.dtx
@@ -932,6 +932,9 @@
% the search for a left brace after for example \tn{everypar}, except that
% any non-expandable token cleanly ends the \meta{filler} (i.e.~it does not
% lead to a \TeX{} error).
+%
+% In contrast to \TeX{}'s filler removal, a construct
+% \verb|\exp_not:N \foo| will be treated in the same way as \verb|\foo|.
% \end{texnote}
% \end{function}
%
More information about the latex3-commits
mailing list.