summaryrefslogtreecommitdiff
path: root/macros/plain/graphics/color.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/plain/graphics/color.tex')
-rw-r--r--macros/plain/graphics/color.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/macros/plain/graphics/color.tex b/macros/plain/graphics/color.tex
index b185a0e071..3a9e095f8f 100644
--- a/macros/plain/graphics/color.tex
+++ b/macros/plain/graphics/color.tex
@@ -21,10 +21,11 @@
\fi
-\let\@color@protected\protected
+\let\@color@ifcsname\ifcsname
\expandafter\@gobble\csname protected\endcsname
+\def\ifcsname mathcolor\endcsname{\iftrue\let\ifcsname\@color@ifcsname}
\input color.sty
-\let\protected\@color@protected
+
\resetatcatcode