1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 15:35:46 +01:00

document -max option to :history and :bmarks

This commit is contained in:
Doug Kearns
2008-12-14 23:07:21 +11:00
parent fc70aa96c7
commit 2315887077
2 changed files with 15 additions and 6 deletions

View File

@@ -602,6 +602,7 @@ function Bookmarks() //{{{
// if openItems is true, open the matching bookmarks items in tabs rather than display
list: function list(filter, tags, openItems, maxItems)
{
// FIXME: returning here doesn't make sense
if (!openItems)
return completion.listCompleter("bookmark", filter, maxItems, tags);
let items = completion.runCompleter("bookmark", filter, maxItems, tags);
@@ -848,6 +849,7 @@ function History() //{{{
// if openItems is true, open the matching history items in tabs rather than display
list: function list(filter, openItems, maxItems)
{
// FIXME: returning here doesn't make sense
if (!openItems)
return completion.listCompleter("history", filter, maxItems);
let items = completion.runCompleter("history", filter, maxItems);