From 5fbfbf03db6674648edb88946930818c16aaecd3 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 10 Jul 2011 18:10:22 +1000 Subject: [PATCH] Fix :run!. Broken by me in 4582cb2b148c. --HG-- extra : rebase_source : 57fb60a9e103c70b810a3140f46da4b45f552f7a --- common/modules/io.jsm | 2 +- common/tests/functional/testCommands.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/modules/io.jsm b/common/modules/io.jsm index 53bc9257..fa24feae 100644 --- a/common/modules/io.jsm +++ b/common/modules/io.jsm @@ -841,7 +841,7 @@ unlet s:cpo_save modules.autocommands.trigger("ShellCmdPost", {}); }, { - argCount: "1", + argCount: "?", bang: true, // This is abominably slow. // completer: function (context) completion.shellCommand(context), diff --git a/common/tests/functional/testCommands.js b/common/tests/functional/testCommands.js index 45e65e7f..86750083 100644 --- a/common/tests/functional/testCommands.js +++ b/common/tests/functional/testCommands.js @@ -45,7 +45,6 @@ function toolbarState(selector, state) var tests = { "!": { - error: [""], multiOutput: ["echo foo"] }, get Clistkeys() this.listcommands,