summaryrefslogtreecommitdiff
path: root/tex/context/base/file-mod.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/file-mod.mkvi')
-rw-r--r--tex/context/base/file-mod.mkvi24
1 files changed, 12 insertions, 12 deletions
diff --git a/tex/context/base/file-mod.mkvi b/tex/context/base/file-mod.mkvi
index 2ca84b3f0..33d100402 100644
--- a/tex/context/base/file-mod.mkvi
+++ b/tex/context/base/file-mod.mkvi
@@ -74,21 +74,21 @@
\pushmacro\currentmodulecategory
\pushmacro\currentmoduleparameters
\ifthirdargument
- \def\currentmodulecategory {#category}%
- \def\currentmodule {#name}%
- \def\currentmoduleparameters{#parameters}%
+ \edef\currentmodulecategory {#category}%
+ \edef\currentmodule {#name}%
+ \def \currentmoduleparameters{#parameters}%
\else\ifsecondargument
\doifassignmentelse{#name}
- {\let\currentmodulecategory \empty
- \def\currentmodule {#category}%
- \def\currentmoduleparameters{#name}}
- {\def\currentmodulecategory {#category}%
- \def\currentmodule {#name}%
- \let\currentmoduleparameters\empty}%
+ {\let\currentmodulecategory \empty
+ \edef\currentmodule {#category}%
+ \edef\currentmoduleparameters{#name}}
+ {\edef\currentmodulecategory {#category}%
+ \edef\currentmodule {#name}%
+ \let \currentmoduleparameters\empty}%
\else
- \let\currentmodulecategory \empty
- \def\currentmodule {#category}%
- \let\currentmoduleparameters\empty
+ \let \currentmodulecategory \empty
+ \edef\currentmodule {#category}%
+ \let \currentmoduleparameters\empty
\fi\fi
\processcommacommand[\currentmodule]{\strc_modules_use_indeed\currentmodulecategory}%
\popmacro\currentmoduleparameters