[latex3-commits] [git/LaTeX3-latex3-latex3] main: Fix \sys_load_deprecation: by making it a no-op (4f199fa61)

Phelype Oleinik phelype.oleinik at latex-project.org
Tue Apr 12 01:53:58 CEST 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/4f199fa61868f61dd8deda8e04678ff3b7198abe

>---------------------------------------------------------------

commit 4f199fa61868f61dd8deda8e04678ff3b7198abe
Author: Phelype Oleinik <phelype.oleinik at latex-project.org>
Date:   Mon Apr 11 20:53:58 2022 -0300

    Fix \sys_load_deprecation: by making it a no-op
    
    Using \sys_load_deprecation: was causing an error due to the missing
    bool \g_@@_deprecation_bool (which was incorrectly named __str due to
    the missing <@@=sys> guard).  Defining the bool would cause another
    error because l3deprecation.def doesn't exist anymore.  So there's not
    much left of \sys_load_deprecation:'s job, so make it a no-op.


>---------------------------------------------------------------

4f199fa61868f61dd8deda8e04678ff3b7198abe
 l3kernel/l3deprecation.dtx | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/l3kernel/l3deprecation.dtx b/l3kernel/l3deprecation.dtx
index 4d48f2a00..a1fb44a57 100644
--- a/l3kernel/l3deprecation.dtx
+++ b/l3kernel/l3deprecation.dtx
@@ -487,15 +487,14 @@
 %
 % \subsection{Deprecated \pkg{l3sys} functions}
 %
+%    \begin{macrocode}
+%<@@=sys>
+%    \end{macrocode}
+%
 % \begin{macro}{\sys_load_deprecation:}
 %    \begin{macrocode}
 \__kernel_patch_deprecation:nnNNpn { 2021-01-11 } { (no~longer~required) }
-\cs_gset_protected:Npn \sys_load_deprecation:
-  {
-    \bool_if:NF \g_@@_deprecation_bool
-      { \__kernel_sys_configuration_load:n { l3deprecation } }
-    \bool_gset_true:N \g_@@_deprecation_bool
-  }
+\cs_gset_protected:Npn \sys_load_deprecation: { }
 %    \end{macrocode}
 % \end{macro}
 %





More information about the latex3-commits mailing list.