 class SearchEngineCompleter
   @debug: false
   searchEngines: null
+  previousSuggestions: null
 
   cancel: ->
     CompletionSearch.cancel()

    cachedSuggestions =
      if haveCompletionEngine then CompletionSearch.complete searchUrl, queryTerms else null

    suggestions = []
    suggestions.push primarySuggestion if custom
    suggestions.push cachedSuggestions.map(mkSuggestion)... if custom and cachedSuggestions?


          engine: engines[keyword]

  refresh: (port) ->
    @previousSuggestions = {}
    # Parse the search-engine configuration.
    @searchEngines = new AsyncDataFetcher (callback) ->
      engines = {}
