From 7b72397a1dd4db0348a7e006bc24cc8268687984 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 13 Oct 2011 22:43:52 +0000 Subject: filehook (13oct11) git-svn-id: svn://tug.org/texlive/trunk@24280 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/filehook/filehook.dtx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/filehook/filehook.dtx b/Master/texmf-dist/source/latex/filehook/filehook.dtx index ce45eaef8b3..01dd5bbedcd 100644 --- a/Master/texmf-dist/source/latex/filehook/filehook.dtx +++ b/Master/texmf-dist/source/latex/filehook/filehook.dtx @@ -29,12 +29,12 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{filehook} %<*package> - [2011/10/07 v0.5c Hooks for input files] + [2011/10/12 v0.5d Hooks for input files] % % %<*driver> \documentclass{ydoc}[2011/03/19] -\usepackage{filehook}[2011/07/18] +\usepackage{filehook}[2011/10/12] \EnableCrossrefs \CodelineIndex \RecordChanges @@ -55,7 +55,7 @@ % % \fi % -% \CheckSum{1019} +% \CheckSum{1018} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -94,6 +94,7 @@ % \changes{v0.5a}{2011/03/09}{Added required \string\long\space to an internal macro.} % \changes{v0.5b}{2011/07/18}{Replaced \cs{@nameuse} for use with eTeX code to avoid the definition of non-existing hooks to \cs{relax}.} % \changes{v0.5c}{2011/10/07}{Added fall-back code for non-eTeX compilers.} +% \changes{v0.5d}{2011/10/12}{Fix for fall-back code.} % % \GetFileInfo{filehook.dtx} % @@ -510,7 +511,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{filehook} - [2011/10/07 v0.5c Hooks for input files] + [2011/10/12 v0.5d Hooks for input files] % \end{macrocode} % % \subsection{Options} @@ -529,11 +530,10 @@ % \begin{macro}{\filehook@csuse} % \begin{macrocode} \begingroup +\gdef\filehook@csuse#1{\ifcsname #1\endcsname\csname #1\expandafter\endcsname\fi} \expandafter\ifx\csname csuse\endcsname\relax \expandafter\ifx\csname ifcsname\endcsname\relax \gdef\filehook@csuse#1{\expandafter\ifx\csname #1\endcsname\relax\else\csname #1\expandafter\endcsname\fi} - \else - \gdef\filehook@csuse#1{\ifcsname #1\endcsname\csname #1\expandafter\endcsname\fi} \fi \else \global\let\filehook@csuse\csuse -- cgit v1.2.3