1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-01 09:22:26 +01:00

Fix Xulmus, etc.

--HG--
branch : xslt
This commit is contained in:
Kris Maglione
2009-10-25 13:43:25 -04:00
parent 6cadd9c84b
commit 9e531ca343
14 changed files with 66 additions and 69 deletions

View File

@@ -178,10 +178,7 @@ function Editor() //{{{
{
let matches = args.string.match(RegExp("^\\s*($|" + abbrevmatch + ")(?:\\s*$|\\s+(.*))"));
if (!matches)
{
liberator.echoerr("E474: Invalid argument");
return false;
}
return void liberator.echoerr("E474: Invalid argument");
let [, lhs, rhs] = matches;
if (rhs)
editor.addAbbreviation(mode, lhs, rhs);