diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-04-06 23:29:18 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-04-06 23:29:18 -0400 |
commit | 153c0ff13ba01fa42b3e34b410311c490ee084e9 (patch) | |
tree | 33fd7f6403ec97b99dca421ae7e276e25ca821aa /IkiWiki.pm | |
parent | 04a9d8e867f1eef46e9c79dee055756bdbb6a039 (diff) | |
download | ikiwiki-153c0ff13ba01fa42b3e34b410311c490ee084e9.tar ikiwiki-153c0ff13ba01fa42b3e34b410311c490ee084e9.tar.gz |
minor style etc changes
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 6d2f4dac3..2cad6a3ef 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -2435,10 +2435,8 @@ sub match_ip ($$;@) { package IkiWiki::SortSpec; # This is in the SortSpec namespace so that the $a and $b that sort() uses -# $IkiWiki::SortSpec::a and $IkiWiki::SortSpec::b, so that plugins' cmp -# functions can access them easily. -sub sort_pages -{ +# are easily available in this namespace, for cmp functions to use them. +sub sort_pages { my $f = IkiWiki::sortspec_translate(shift); return sort $f @_; |