mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:07:58 +01:00
don't bother returning a status value in Marks#jumpTo and remove trailing comma
in :mark help propery assignment
This commit is contained in:
@@ -521,8 +521,6 @@ function Marks() //{{{
|
|||||||
|
|
||||||
if (!ok)
|
if (!ok)
|
||||||
vimperator.echoerr("E20: Mark not set"); // FIXME: move up?
|
vimperator.echoerr("E20: Mark not set"); // FIXME: move up?
|
||||||
|
|
||||||
return ok;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: show marks like vim does (when the multiline echo impl is done) or in the preview window right now
|
// TODO: show marks like vim does (when the multiline echo impl is done) or in the preview window right now
|
||||||
|
|||||||
@@ -510,7 +510,7 @@ function Commands() //{{{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
usage: ["ma[rk] {arg}"],
|
usage: ["ma[rk] {arg}"],
|
||||||
short_help: "Mark current location within the webpage",
|
short_help: "Mark current location within the webpage"
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
addDefaultCommand(new Command(["marks"],
|
addDefaultCommand(new Command(["marks"],
|
||||||
|
|||||||
Reference in New Issue
Block a user