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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user