mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:22:29 +02:00
Fix :abbr with no argument (in future, will be less push happy).
This commit is contained in:
1 parent
704303c108
commit
aca074f82b
1 file changed
+1
-1
@@ -165,7 +165,7 @@ function Editor() //{{{
|
||||
function (args)
|
||||
{
|
||||
let [lhs, rhs] = args;
|
||||
if (lhs.match(/\W/))
|
||||
if (lhs && lhs.match(/\W/))
|
||||
{
|
||||
liberator.echoerr("E474: Invalid argument");
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user