summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-05 05:10:00 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-05 05:10:00 +0000
commit157df8591f03ade7504ad732446f125ae8609b05 (patch)
tree83e86e9ecfce04df964fd698dab9df3a2255393a /IkiWiki/Plugin
parent13f8a835a0b59de43316674e2122f0bbf3d9ef3a (diff)
rename the "render" hook to "change", which is clearer
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/search.pm6
-rw-r--r--IkiWiki/Plugin/skeleton.pm8
2 files changed, 7 insertions, 7 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm
index c71fef76e..213ed45ff 100644
--- a/IkiWiki/Plugin/search.pm
+++ b/IkiWiki/Plugin/search.pm
@@ -11,8 +11,8 @@ sub import { #{{{
call => \&checkconfig);
IkiWiki::hook(type => "delete", id => "hyperestraier",
call => \&delete);
- IkiWiki::hook(type => "render", id => "hyperestraier",
- call => \&render);
+ IkiWiki::hook(type => "change", id => "hyperestraier",
+ call => \&change);
IkiWiki::hook(type => "cgi", id => "hyperestraier",
call => \&cgi);
} # }}}
@@ -41,7 +41,7 @@ sub delete (@) { #{{{
IkiWiki::estcfg();
} #}}}
-sub render (@) { #{{{
+sub change (@) { #{{{
IkiWiki::debug("updating hyperestraier search index");
IkiWiki::estcmd("gather -cm -bc -cl -sd",
map {
diff --git a/IkiWiki/Plugin/skeleton.pm b/IkiWiki/Plugin/skeleton.pm
index cae4c02ec..d5a2125e5 100644
--- a/IkiWiki/Plugin/skeleton.pm
+++ b/IkiWiki/Plugin/skeleton.pm
@@ -17,8 +17,8 @@ sub import { #{{{
call => \&filter);
IkiWiki::hook(type => "delete", id => "skeleton",
call => \&delete);
- IkiWiki::hook(type => "render", id => "skeleton",
- call => \&render);
+ IkiWiki::hook(type => "change", id => "skeleton",
+ call => \&change);
IkiWiki::hook(type => "cgi", id => "skeleton",
call => \&cgi);
} # }}}
@@ -47,10 +47,10 @@ sub delete (@) { #{{{
IkiWiki::debug("skeleton plugin told that files were deleted: @files");
} #}}}
-sub render (@) { #{{{
+sub change (@) { #{{{
my @files=@_;
- IkiWiki::debug("skeleton plugin told that files were rendered: @files");
+ IkiWiki::debug("skeleton plugin told that changed files were rendered: @files");
} #}}}
sub cgi ($) { #{{{