Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix \iow_open:N in ConTeXt MkII #1114

Merged
merged 5 commits into from Jul 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 12 additions & 1 deletion l3kernel/l3file.dtx
Expand Up @@ -1499,10 +1499,21 @@
%
% \begin{macro}{\@@_new:N}
% As for read streams, copy \tn{newwrite}, making sure
% that it is not \tn{outer}.
% that it is not \tn{outer}. For \ConTeXt{}, we have to
% deal with the fact that \tn{newwrite} works like our
% own: it actually checks before altering definition.
% \begin{macrocode}
\exp_args:NNf \cs_new_protected:Npn \@@_new:N
{ \exp_args:NNc \exp_after:wN \exp_stop_f: { newwrite } }
\cs_if_exist:NT \normalend
Witiko marked this conversation as resolved.
Show resolved Hide resolved
{
\cs_new_eq:NN \@@_new_aux:N \@@_new:N
\cs_set_protected:Npn \@@_new:N #1
Witiko marked this conversation as resolved.
Show resolved Hide resolved
{
\cs_undefine:N #1
\@@_new_aux:N #1
}
}
% \end{macrocode}
% \end{macro}
%
Expand Down