From f40d3e26258b5b5822ab3e96fc078de81c2d899d Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 5 Oct 2020 20:52:29 +0000
Subject: etoolbox (5oct20)

git-svn-id: svn://tug.org/texlive/trunk@56554 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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

diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
index 39b4a791b03..4c07ceae9c2 100644
--- a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
+++ b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty
@@ -12,7 +12,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{etoolbox}
-  [2020/08/24 v2.5j e-TeX tools for LaTeX (JAW)]
+  [2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)]
 
 \begingroup
 \@ifundefined{eTeXversion}
@@ -1736,7 +1736,8 @@
 
 \newcommand*{\dolistcsloop}{\forlistcsloop\do}
 
-\ifdef\AddToHook
+\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
+\IfFormatAtLeastTF{2020-10-01}
   {%
     \newrobustcmd*{\AtEndPreamble}{\AddToHook{begindocument/before}}%
     \let\AfterPreamble\AtBeginDocument
-- 
cgit v1.2.3

