From c7b7b71e49652c9ff0f4f3b2fa6a344041ddbeb1 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 3 Dec 2019 22:05:08 +0000
Subject: csquotes (3dec19)

git-svn-id: svn://tug.org/texlive/trunk@53014 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/csquotes/csquotes.sty | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/csquotes/csquotes.sty')

diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.sty b/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
index 0d61ab8b237..9fa48021243 100644
--- a/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
+++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
@@ -12,7 +12,7 @@
 
 \NeedsTeXFormat{LaTeX2e}[2005/12/01]
 \ProvidesPackage{csquotes}
-  [2019-11-15 v5.2h context-sensitive quotations (JAW)]
+  [2019-12-02 v5.2i context-sensitive quotations (JAW)]
 
 %% Compatibility and requirements
 
@@ -807,18 +807,21 @@
           {\edef\csq@mainlang{\languagename}}
           {\csq@warn@multilang{Cannot detect main document language}}}}}
 
+\newcommand*{\csq@otherlang@star}{\csuse{otherlanguage*}}
+\newcommand*{\csq@otherlang@star@end}{\csuse{endotherlanguage*}}
+
 \def\csq@resetlang{%
   \ifdef\csq@mainlang
-    {\csuse{otherlanguage*}{\csq@mainlang}%
+    {\expandafter\csq@otherlang@star\expandafter{\csq@mainlang}%
      \let\csq@resetlang\relax}
     {}}
 
 \protected\long\def\csq@switchlang#1{%
   \ifdef\csq@mainlang
     {\begingroup
-     \csuse{otherlanguage*}{\csq@mainlang}%
+     \expandafter\csq@otherlang@star\expandafter{\csq@mainlang}%
      #1%
-     \csuse{endotherlanguage*}%
+     \csq@otherlang@star@end
      \endgroup}
     {#1}}
 
@@ -826,9 +829,9 @@
 
 \def\csq@lang#1{%
   \csq@savelang
-  \lowercase{\csuse{otherlanguage*}{#1}}}
+  \lowercase{\csq@otherlang@star{#1}}}
 \def\csq@endlang{%
-  \csuse{endotherlanguage*}}
+  \csq@otherlang@star@end}
 
 \def\csq@nolang#1{%
   \begingroup
-- 
cgit v1.2.3

