From: joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Date: Sun, 30 Jul 2006 01:38:50 +0000 (+0000)
Subject: forgot to add this
X-Git-Tag: 1.13~37
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/7bb447675fced4861eeec9e687935b9eedf98033?ds=inline

forgot to add this
---

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});
 	}