summaryrefslogtreecommitdiff
path: root/tex/context/base/core-fil.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-fil.tex')
-rw-r--r--tex/context/base/core-fil.tex15
1 files changed, 12 insertions, 3 deletions
diff --git a/tex/context/base/core-fil.tex b/tex/context/base/core-fil.tex
index b12a78324..c3a7c52d1 100644
--- a/tex/context/base/core-fil.tex
+++ b/tex/context/base/core-fil.tex
@@ -59,11 +59,20 @@
1: le synonyme de fichier -- est déjà utilisé pour --
\stopmessages
-%D
+%D Files registered as temporary files will be deleted after a
+%D run by texexec:
+
+% \starttext
+% \immediate\openout\scratchwrite=oeps.tmp
+% \immediate\write\scratchwrite{oeps}
+% \immediate\closeout\scratchwrite
+% \registertempfile{oeps.tmp}
+% \typefile{oeps.tmp}
+% \stoptext
-\let\usedtempfile\gobbleonearguments
+\let\usedtempfile\gobbleoneargument
-\def\registertempfile#1{\immediatewriteutilitycommand{\usedtempfile{#1}}}
+\def\registertempfile#1{\immediatewriteutility{f t {#1}}}
%D \macros
%D {definefilesynonym}