From 2e4672ed6f7b49c9d1c44b6ca850cfe7024fc639 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 12 Oct 2019 03:00:57 +0000
Subject: CTAN sync 201910120300

---
 macros/latex/contrib/l3backend/l3backend-color.dtx | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'macros/latex/contrib/l3backend/l3backend-color.dtx')

diff --git a/macros/latex/contrib/l3backend/l3backend-color.dtx b/macros/latex/contrib/l3backend/l3backend-color.dtx
index e11e68a5d2..4bf4b1a0d9 100644
--- a/macros/latex/contrib/l3backend/l3backend-color.dtx
+++ b/macros/latex/contrib/l3backend/l3backend-color.dtx
@@ -43,7 +43,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2019-09-05}
+% \date{Released 2019-10-11}
 %
 % \maketitle
 %
@@ -84,7 +84,7 @@
 \cs_new_protected:Npn \@@_backend_pickup:N #1 { }
 \AtBeginDocument
   {
-    \@ifpackageloaded { color }
+    \cs_if_exist:cT { ver@color.sty }
       {
         \cs_set_protected:Npn \@@_backend_pickup:N #1
           {
@@ -104,7 +104,6 @@
         \cs_new_protected:Npn \@@_backend_pickup:w #1 ~ #2 \q_stop #3
           { \tl_set:Nn #3 { #1 ~ #2 } }
       }
-      { }
   }
 %</package>
 %    \end{macrocode}
@@ -176,13 +175,13 @@
 %   we store our color data in \texttt{dvips} format.
 %   The \tn{current@color} needs to be \texttt{x}-expanded before
 %   \cs{@@_backend_pickup:w} breaks it apart, because for instance
-%   \pkg{xcolor} sets it to be instructions to generate a colour
+%   \pkg{xcolor} sets it to be instructions to generate a color
 %    \begin{macrocode}
 %<*package>
 \cs_new_protected:Npn \@@_backend_pickup:N #1 { }
 \AtBeginDocument
   {
-    \@ifpackageloaded { color }
+    \cs_if_exist:cT { ver@color.sty }
       {
         \cs_set_protected:Npn \@@_backend_pickup:N #1
           {
@@ -213,7 +212,6 @@
               }
           }
       }
-      { }
   }
 %</package>
 %    \end{macrocode}
-- 
cgit v1.2.3

