From 72ca90fa8fd5d4caedc981249f8cbefee68ddf38 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 23 Sep 2007 14:17:51 +0000 Subject: [PATCH] prevent the failed find error message from being cleared --- chrome/content/vimperator/find.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/vimperator/find.js b/chrome/content/vimperator/find.js index 55531ff3..57824215 100644 --- a/chrome/content/vimperator/find.js +++ b/chrome/content/vimperator/find.js @@ -134,7 +134,7 @@ function Search() //{{{ found = fastFind.find(search_string, links_only) != Components.interfaces.nsITypeAheadFind.FIND_NOTFOUND; if (!found) - vimperator.echoerr("E486: Pattern not found: " + search_pattern); + setTimeout(function() { vimperator.echoerr("E486: Pattern not found: " + search_pattern); }, 0); return found; }