summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/xpatch
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/xpatch')
-rw-r--r--Master/texmf-dist/source/latex/xpatch/xpatch.dtx9
-rw-r--r--Master/texmf-dist/source/latex/xpatch/xpatch.ins2
2 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/xpatch/xpatch.dtx b/Master/texmf-dist/source/latex/xpatch/xpatch.dtx
index f901c32048b..2fe484e6670 100644
--- a/Master/texmf-dist/source/latex/xpatch/xpatch.dtx
+++ b/Master/texmf-dist/source/latex/xpatch/xpatch.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: xpatch.dtx (C) Copyright 2012 Enrico Gregorio
+%% File: xpatch.dtx (C) Copyright 2012-2020 Enrico Gregorio
%%
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -24,7 +24,7 @@
\usepackage{bookmark}
%</driver>
%<*driver|package>
-\GetIdInfo$Id: xpatch.dtx 0.3 2012-10-02 12:00:00Z Enrico $
+\GetIdInfo$Id: xpatch.dtx 0.3a 2020-03-25 12:00:00Z Enrico $
{Extending etoolbox patching commands}
%</driver|package>
%<*driver>
@@ -36,6 +36,7 @@
% \changes{v0.2}{2012/01/13}{Added \texttt{\char`\\x...bibdriver} macros; fixed a bug for
% control symbols defined with \texttt{\char`\\newcommand} and an optional argument.}
% \changes{v0.3}{2012/10/01}{Added a bunch of biblatex related commands}
+% \changes{v0.3a}{2020/03/25}{Changed deprecated function}
%
% \title{^^A
% The \textsf{xpatch} package\\ Extending \textsf{etoolbox} patching
@@ -543,7 +544,7 @@
% \pkg{l3regex} stabilizes.}
% \begin{macrocode}
\tl_set:Nx \l__xpatch_repl_tl
- { \c__xpatch_bizarre_tl \token_get_replacement_spec:N #2 }
+ { \c__xpatch_bizarre_tl \cs_replacement_spec:N #2 }
% \end{macrocode}
% We look whether the token list contains the bizarre list followed by
% |\protect| and the same name (with two spaces) which happens if |#2|
@@ -635,7 +636,7 @@
{
\tl_set:Nx \l__xpatch_repl_tl
{ \c__xpatch_bizarre_tl
- \exp_after:wN \token_get_replacement_spec:N
+ \exp_after:wN \cs_replacement_spec:N
\cs:w \l__xpatch_name_tl \cs_end: }
\tl_if_in:NxT \l__xpatch_repl_tl
{
diff --git a/Master/texmf-dist/source/latex/xpatch/xpatch.ins b/Master/texmf-dist/source/latex/xpatch/xpatch.ins
index 28ca5db6769..dc0ad457d6b 100644
--- a/Master/texmf-dist/source/latex/xpatch/xpatch.ins
+++ b/Master/texmf-dist/source/latex/xpatch/xpatch.ins
@@ -1,6 +1,6 @@
\iffalse meta-comment
-File xpatch.ins Copyright (C) 2012 Enrico Gregorio
+File xpatch.ins Copyright (C) 2012-2020 Enrico Gregorio
It may be distributed and/or modified under the conditions of the
LaTeX Project Public License (LPPL), either version 1.3c of this