1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 06:02:27 +01:00

Add completion for empty 'defsearch'

This commit is contained in:
Kris Maglione
2008-12-19 12:33:22 -05:00
parent da5db4429e
commit 669043da71
2 changed files with 8 additions and 1 deletions

View File

@@ -258,7 +258,11 @@ function Bookmarks() //{{{
"Set the default search engine",
"string", "google",
{
completer: function completer(context) completion.search(context, true),
completer: function completer(context)
{
completion.search(context, true)
context.completions = [["", "Don't perform searches by default"]].concat(context.completions);
},
validator: Option.validateCompleter
});