From df79b2f75750d821914f8bdafa5fd9bb2eee9f4f Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 25 Dec 2009 00:58:49 +0000
Subject: hyperref update (24dec09)

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

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

diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
index b757c144734..c51dde86fb7 100644
--- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
+++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def
@@ -24,7 +24,7 @@
 %% given in the file `manifest.txt'.
 %%
 \ProvidesFile{pdfmark.def}
-  [2009/12/18 v6.79v
+  [2009/12/23 v6.79y
   Hyperref definitions for pdfmark specials]
 \begingroup
   \toks@\expandafter{\Hy@FirstPageHook}%
@@ -1505,11 +1505,14 @@
       \pdfstringdef\Hy@tempa{#2}%
       \if@filesw
         \stepcounter{bookmark@seq@number}%
-        \protected@write\@outlinefile{}{%
-          \protect\BOOKMARK
-            [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}%
-            {\Hy@tempa}{\Hy@tempb}%
-            \@percentchar\space\thebookmark@seq@number
+        \@ifundefined{@outlinefile}{%
+        }{%
+          \protected@write\@outlinefile{}{%
+            \protect\BOOKMARK
+              [\Hy@level][\@bookmarkopenstatus{\Hy@level}]{#3}%
+              {\Hy@tempa}{\Hy@tempb}%
+              \@percentchar\space\thebookmark@seq@number
+          }%
         }%
       \fi
     \fi
-- 
cgit v1.2.3

