1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 20:42:27 +01:00

fix external editor commands (Eric Van Dewoestine)

This commit is contained in:
Doug Kearns
2008-11-28 02:48:35 +00:00
parent 2e6e7cb915
commit ff69145da2
2 changed files with 2 additions and 2 deletions

View File

@@ -1322,7 +1322,7 @@ function Buffer() //{{{
// TODO: make that a helper function // TODO: make that a helper function
// TODO: save return value in v:shell_error // TODO: save return value in v:shell_error
var editor = options["editor"]; var editor = options["editor"];
var args = commands.parseArgs(editor, [], "*", true).arguments; var args = commands.parseArgs(editor, [], "*", true);
if (args.length < 1) if (args.length < 1)
{ {
liberator.echoerr("No editor specified"); liberator.echoerr("No editor specified");

View File

@@ -810,7 +810,7 @@ function Editor() //{{{
return false; return false;
var editor = options["editor"]; var editor = options["editor"];
var args = commands.parseArgs(editor, [], "*", true).arguments; var args = commands.parseArgs(editor, [], "*", true);
if (args.length < 1) if (args.length < 1)
{ {
liberator.echoerr("No editor specified"); liberator.echoerr("No editor specified");