From 87aba59c84e17b383ab231357b7f9e75330738a4 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 21 Jan 2022 22:49:34 +0000
Subject: l3kernel (21jan22)

git-svn-id: svn://tug.org/texlive/trunk@61685 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/l3kernel/l3doc.dtx | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

(limited to 'Master/texmf-dist/source/latex/l3kernel/l3doc.dtx')

diff --git a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx
index eb67bd70b38..bd63683b356 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx
@@ -61,7 +61,7 @@ and all files in that bundle must be distributed together.
 %</driver|class>
 %
 %<*driver>
-\ProvidesFile{l3doc.dtx}[2020/08/21 L3 Experimental documentation class]
+\ProvidesFile{l3doc.dtx}[2022/01/12 L3 Experimental documentation class]
 \documentclass{l3doc}
 \usepackage{framed,lipsum}
 \begin{document}
@@ -72,14 +72,14 @@ and all files in that bundle must be distributed together.
 % This isn't included in the typeset documentation because it's a bit
 % ugly:
 %<*class>
-\ProvidesExplClass{l3doc}{2018-04-30}{}
+\ProvidesExplClass{l3doc}{2022-01-12}{}
   {L3 Experimental documentation class}
 %</class>
 % \fi
 %
 % \title{The \cls{l3doc} class}
 % \author{\Team}
-% \date{Released 2022-01-12}
+% \date{Released 2022-01-21}
 % \maketitle
 % \tableofcontents
 %
@@ -3610,7 +3610,7 @@ and all files in that bundle must be distributed together.
 % into \pkg{expl3} syntax. New features are added in various places.
 %
 % \begin{macro}
-%   {\StopEventually, \Finale, \AlsoImplementation, \OnlyDescription}
+%   {\StopEventually, \MaybeStop, \Finale, \AlsoImplementation, \OnlyDescription}
 % \begin{variable}{\g_@@_finale_tl}
 %   TODO: remove these four commands altogether, document that it is
 %   better to use the \env{documentation} and \env{implementation}
@@ -3631,6 +3631,15 @@ and all files in that bundle must be distributed together.
       }
       { #1 \endinput }
   }
+%    \end{macrocode}
+%    We also need to support doc V3 \cs{MaybeStop} if it is around
+%    (which may not be the case).
+%    \begin{macrocode}
+\cs_if_exist:NT \MaybeStop  
+   { \RenewCommandCopy \MaybeStop \StopEventually }
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 \DeclareDocumentCommand \Finale { }
   { \tl_use:N \g_@@_finale_tl }
 \tl_new:N \g_@@_finale_tl
-- 
cgit v1.2.3

