From a4f87700e8526eea8269d63d945f357ad10cc2bb Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 7 May 2009 14:06:36 +0000
Subject: hyperref update (3may09)

git-svn-id: svn://tug.org/texlive/trunk@12984 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

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

diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index 4c549108d26..e023920e3d8 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
@@ -25,7 +25,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{hyperref}
-  [2009/04/04 v6.78q
+  [2009/05/01 v6.78r
   Hypertext links for LaTeX]
 \begingroup
   \@makeother\`%
@@ -375,8 +375,9 @@
     \let\bgroup\/%
     \let\egroup\/%
     \let\discretionary\@gobbletwo
-    \let\@ifnextchar\HyPsd@ifnextchar
-    \let\@ifnextchar\HyPsd@new@ifnextchar
+    \def\@ifnextchar{\HyPsd@ifnextchar\@ifnextchar}%
+    \def\kernel@ifnextchar{\HyPsd@ifnextchar\kernel@ifnextchar}%
+    \def\new@ifnextchar{\HyPsd@ifnextchar\new@ifnextchar}%
     \let\@protected@testopt\HyPsd@protected@testopt
     \let\@protected@testopt@xargs\HyPsd@protected@testopt
     \begingroup
@@ -1039,12 +1040,8 @@
     \expandafter\@gobble\string#1\@empty
   }%
 }
-\def\HyPsd@ifnextchar{%
-  \pdfstringdefWarn\@ifnextchar
-  \expandafter\@gobbletwo\@gobble
-}
-\def\HyPsd@new@ifnextchar{%
-  \pdfstringdefWarn\new@ifnextchar
+\def\HyPsd@ifnextchar#1{%
+  \pdfstringdefWarn#1%
   \expandafter\@gobbletwo\@gobble
 }
 \def\HyPsd@protected@testopt#1{%
-- 
cgit v1.2.3

