aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/inline.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-09 13:20:41 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-09 13:20:41 -0400
commit6f2cc5ac8cc7e76b3faf20cd7516f82bcb3de7ed (patch)
tree0ca5d3284887d58aa6303c6dca951c00755e91e3 /IkiWiki/Plugin/inline.pm
parentf9f7a6e9f34b120504bb1dc238a3a627e9a8e3dc (diff)
downloadikiwiki-6f2cc5ac8cc7e76b3faf20cd7516f82bcb3de7ed.tar
ikiwiki-6f2cc5ac8cc7e76b3faf20cd7516f82bcb3de7ed.tar.gz
pagespec_match_list: change limit to filter
Diffstat (limited to 'IkiWiki/Plugin/inline.pm')
-rw-r--r--IkiWiki/Plugin/inline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 815a37838..0fe0bd2e1 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -218,7 +218,7 @@ sub preprocess_inline (@) {
@list = pagespec_match_list($params{page}, $params{pages},
deptype => deptype($quick ? "presence" : "content"),
- limit => sub { $_[0] ne $params{page} },
+ filter => sub { $_[0] eq $params{page} },
sort => exists $params{sort} ? $params{sort} : "age",
reverse => yesno($params{reverse}),
num => $num,