]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/osm.pm
mdwn: Automatically detect which libdiscount flags to use
[git.ikiwiki.info.git] / IkiWiki / Plugin / osm.pm
index 472e26945a75575215218294c2a01cc68748bbf3..a5af4ed21b1acb89d89d87083643cca729c6be36 100644 (file)
@@ -14,7 +14,7 @@ sub import {
        hook(type => "format", id => "osm", call => \&format);
        hook(type => "preprocess", id => "osm", call => \&preprocess);
        hook(type => "preprocess", id => "waypoint", call => \&process_waypoint);
-       hook(type => "savestate", id => "waypoint", call => \&savestate);
+       hook(type => "changes", id => "waypoint", call => \&changes);
        hook(type => "cgi", id => "osm", call => \&cgi);
 }
 
@@ -280,7 +280,7 @@ sub scrub_lonlat($$$) {
        return ($lon, $lat);
 }
 
-sub savestate {
+sub changes {
        my %waypoints = ();
        my %linestrings = ();