summaryrefslogtreecommitdiff
path: root/tex/context/base/colo-ini.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/colo-ini.tex')
-rw-r--r--tex/context/base/colo-ini.tex7
1 files changed, 6 insertions, 1 deletions
diff --git a/tex/context/base/colo-ini.tex b/tex/context/base/colo-ini.tex
index 34e8a3494..b9fa01cfb 100644
--- a/tex/context/base/colo-ini.tex
+++ b/tex/context/base/colo-ini.tex
@@ -1384,8 +1384,13 @@
\startcolormode\maintextcolor
\fi}
+% \def\localstoptextcolor
+% {\stopcolormode}
+%
+% better:
+
\def\localstoptextcolor
- {\stopcolormode}
+ {\restorecolormode}
\def\restoretextcolor
{\ifx\maintextcolor\empty