1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 18:54:12 +01:00

fixed :o foo bla search

This commit is contained in:
Martin Stubenschrott
2007-08-24 13:55:38 +00:00
parent 42adc6f059
commit 983de3f9a8
3 changed files with 233 additions and 0 deletions

View File

@@ -195,6 +195,10 @@ function Bookmarks() //{{{
if (!engine_name || engine_name == "")
engine_name = vimperator.options["defsearch"];
// we need to make sure our custom alias have been set, even if the user
// did not :open <tab> once before
this.getSearchEngines();
// first checks the search engines for a match
var engine = search_service.getEngineByAlias(engine_name);
if (engine)