1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-25 02:13:46 +01:00

Add liberator.assert.

This commit is contained in:
Kris Maglione
2009-11-03 02:36:48 -05:00
parent 34e9b10fb9
commit 1ce498401e
13 changed files with 154 additions and 152 deletions

View File

@@ -417,10 +417,8 @@ function Finder() //{{{
var pattern = str;
else
{
if (lastSearchPattern)
pattern = lastSearchPattern;
else
return void liberator.echoerr("E35: No previous search pattern");
liberator.assert(lastSearchPattern, "E35: No previous search pattern");
pattern = lastSearchPattern;
}
this.clear();