From ff69145da2099c642067e7d23e85b73e866cf7fb Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 28 Nov 2008 02:48:35 +0000 Subject: [PATCH] fix external editor commands (Eric Van Dewoestine) --- content/buffer.js | 2 +- content/editor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/buffer.js b/content/buffer.js index c44bbc21..e2fb7426 100644 --- a/content/buffer.js +++ b/content/buffer.js @@ -1322,7 +1322,7 @@ function Buffer() //{{{ // TODO: make that a helper function // TODO: save return value in v:shell_error var editor = options["editor"]; - var args = commands.parseArgs(editor, [], "*", true).arguments; + var args = commands.parseArgs(editor, [], "*", true); if (args.length < 1) { liberator.echoerr("No editor specified"); diff --git a/content/editor.js b/content/editor.js index 8e6071cd..aee4c8e3 100644 --- a/content/editor.js +++ b/content/editor.js @@ -810,7 +810,7 @@ function Editor() //{{{ return false; var editor = options["editor"]; - var args = commands.parseArgs(editor, [], "*", true).arguments; + var args = commands.parseArgs(editor, [], "*", true); if (args.length < 1) { liberator.echoerr("No editor specified");