diff options
author | Karl Berry <karl@freefriends.org> | 2011-10-13 22:43:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-10-13 22:43:52 +0000 |
commit | 7b72397a1dd4db0348a7e006bc24cc8268687984 (patch) | |
tree | 8112b47559543fc43203abacdc1f8b0d07c4fec8 /Master/texmf-dist/tex | |
parent | 3b443f201cf868e0fe49505f8f49af60adb73dca (diff) |
filehook (13oct11)
git-svn-id: svn://tug.org/texlive/trunk@24280 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/filehook/filehook.sty | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/filehook/filehook.sty b/Master/texmf-dist/tex/latex/filehook/filehook.sty index 377d7ee2171..728462c2436 100644 --- a/Master/texmf-dist/tex/latex/filehook/filehook.sty +++ b/Master/texmf-dist/tex/latex/filehook/filehook.sty @@ -21,16 +21,15 @@ %% $Id: filehook.dtx 2504 2011-07-18 17:22:50Z martin $ \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] \newif\iffilehook@force \DeclareOption{force}{\filehook@forcetrue} \ProcessOptions\relax \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 |