summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/page-lay.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/page-lay.mkxl')
-rw-r--r--tex/context/base/mkxl/page-lay.mkxl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/page-lay.mkxl b/tex/context/base/mkxl/page-lay.mkxl
index 9c84844bf..6cd0d9579 100644
--- a/tex/context/base/mkxl/page-lay.mkxl
+++ b/tex/context/base/mkxl/page-lay.mkxl
@@ -1229,9 +1229,9 @@
\def\swapmargins % name will change, frozen?
{\doifelsemarginswap\relax\doswapmargins}
-\def\doswapmargins % name will change, frozen?
- {\let\swapmargins \relax % to prevent local swapping
- \let\doswapmargins\relax % to prevent local swapping
+\permanent\protected\def\doswapmargins
+ {\enforced\let\swapmargins \relax % to prevent local swapping
+ \enforced\let\doswapmargins\relax % to prevent local swapping
\the\everyswapmargins}
\permanent\def\rightorleftpageaction