mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 12:42:26 +01:00
fix external editor commands (Eric Van Dewoestine)
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user