From 7bb447675fced4861eeec9e687935b9eedf98033 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 30 Jul 2006 01:38:50 +0000 Subject: [PATCH] forgot to add this --- IkiWiki.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IkiWiki.pm b/IkiWiki.pm index 54ca84550..c0b26e43f 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -395,6 +395,8 @@ sub loadindex () { #{{{ } #}}} sub saveindex () { #{{{ + run_hooks(savestate => sub { shift->() }); + if (! -d $config{wikistatedir}) { mkdir($config{wikistatedir}); }