summaryrefslogtreecommitdiff
path: root/tex/context/base/file-res.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/file-res.mkvi')
-rw-r--r--tex/context/base/file-res.mkvi8
1 files changed, 5 insertions, 3 deletions
diff --git a/tex/context/base/file-res.mkvi b/tex/context/base/file-res.mkvi
index 5162e63be..17f4cf44c 100644
--- a/tex/context/base/file-res.mkvi
+++ b/tex/context/base/file-res.mkvi
@@ -70,7 +70,7 @@
\let\readfilename\empty
\def\syst_files_read_file#protocol#path#name% #true #false
- {\edef\readfilename{\ctxcommand{getreadfilename("#protocol","#path","#name")}}%
+ {\edef\readfilename{\clf_getreadfilename{#protocol}{#path}{#name}}%
\ifx\readfilename\empty
\expandafter\secondoftwoarguments
\else
@@ -145,7 +145,9 @@
%D \doiflocfileelse {filename} {before loading} {not found}
%D \stoptyping
-\unexpanded\def\doiflocfileelse#name{\ctxcommand{doiflocfileelse([[#name]])}}
- \def\locfilename #name{\ctxcommand{locfilename([[#name]])}}
+\unexpanded\def\doifelselocfile#name{\clf_doifelselocfile{#name}}
+ \def\locfilename #name{\clf_locfilename {#name}}
+
+\let\doiflocfileelse\doifelselocfile
\protect \endinput