diff --git a/content/completion.js b/content/completion.js index d2a0dd54..5e7674bf 100644 --- a/content/completion.js +++ b/content/completion.js @@ -1332,12 +1332,14 @@ function Completion() //{{{ } }, - history: function _history(context) + history: function _history(context, maxItems) { context.format = history.format; context.title = ["History"] context.compare = null; //context.background = true; + if (context.maxItems == null) + context.maxItems = 100; context.regenerate = true; context.generate = function () history.get(context.filter, this.maxItems); },