summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/xpatch/xpatch.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-26 21:29:18 +0000
committerKarl Berry <karl@freefriends.org>2020-03-26 21:29:18 +0000
commit10621b7416ef227ffbb055079e7358fb4d2ebd6f (patch)
tree0399b9d95bf4bbd2045285b224394fbadf62d641 /Master/texmf-dist/source/latex/xpatch/xpatch.dtx
parent99308af4895b0e2695533e27d1dd565e81c61583 (diff)
xpatch (26mar20)
git-svn-id: svn://tug.org/texlive/trunk@54563 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/xpatch/xpatch.dtx')
-rw-r--r--Master/texmf-dist/source/latex/xpatch/xpatch.dtx9
1 files changed, 5 insertions, 4 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
{