diff options
author | Karl Berry <karl@freefriends.org> | 2018-12-13 22:53:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-12-13 22:53:27 +0000 |
commit | bbbf3700086ea2f861b6594ea23e37f29d3f9dc1 (patch) | |
tree | 051ec6913956e3f2a6563878941ccebd9645b401 /Master/texmf-dist/source/latex/l3kernel/l3file.dtx | |
parent | 301b93fafda199abb5c1eaf8b18cb1d1d0345a68 (diff) |
l3kernel (13dec18)
git-svn-id: svn://tug.org/texlive/trunk@49405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3file.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3file.dtx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3file.dtx b/Master/texmf-dist/source/latex/l3kernel/l3file.dtx index 09ef15f0bb2..23f34a1e95f 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3file.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3file.dtx @@ -42,7 +42,7 @@ % }^^A % } % -% \date{Released 2018-12-11} +% \date{Released 2018-12-12} % % \maketitle % @@ -797,11 +797,22 @@ % third-party package \pkg{morewrites}), this macro is saved here % under a private name. The complicated code ensures that % \cs{@@_new:N} is not \tn{outer} despite plain \TeX{}'s \tn{newread} -% being \tn{outer}. +% being \tn{outer}. For \ConTeXt{}, we have to deal with the fact +% that \tn{newread} works like our own: it actually checks before +% altering definition. % \begin{macrocode} %<*package> \exp_args:NNf \cs_new_protected:Npn \@@_new:N { \exp_args:NNc \exp_after:wN \exp_stop_f: { newread } } +\cs_if_exist:NT \normalend + { + \cs_new_eq:NN \@@_new_aux:N \@@_new:N + \cs_set_protected:Npn \@@_new:N #1 + { + \cs_undefine:N #1 + \@@_new_aux:N #1 + } + } %</package> % \end{macrocode} % \end{macro} |