summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/skeleton.pm2
-rw-r--r--doc/bugs/strange_hook_id_in_skeleton.pm.mdwn4
2 files changed, 4 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm b/IkiWiki/Plugin/skeleton.pm
index d1a50c03b..2ea19eef9 100644
--- a/IkiWiki/Plugin/skeleton.pm
+++ b/IkiWiki/Plugin/skeleton.pm
@@ -26,7 +26,7 @@ sub import { #{{{
hook(type => "canedit", id => "skeleton", call => \&canedit);
hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup);
hook(type => "formbuilder", id => "skeleton", call => \&formbuilder);
- hook(type => "savestate", id => "savestate", call => \&savestate);
+ hook(type => "savestate", id => "skeleton", call => \&savestate);
} # }}}
sub getopt () { #{{{
diff --git a/doc/bugs/strange_hook_id_in_skeleton.pm.mdwn b/doc/bugs/strange_hook_id_in_skeleton.pm.mdwn
index ddca7fc63..5e96acf60 100644
--- a/doc/bugs/strange_hook_id_in_skeleton.pm.mdwn
+++ b/doc/bugs/strange_hook_id_in_skeleton.pm.mdwn
@@ -1,3 +1,5 @@
hook(type => "savestate", id => "savestate", call => \&savestate);
-Shouldn't that id be "skeleton", like all the other ids? --Ethan \ No newline at end of file
+Shouldn't that id be "skeleton", like all the other ids? --Ethan
+
+[[done]]