From c9c550a6f0b2525d3d13eac4ebf619d3e71411f1 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 26 Jun 2007 12:32:57 +0000 Subject: [PATCH] don't bother returning a status value in Marks#jumpTo and remove trailing comma in :mark help propery assignment --- chrome/content/vimperator/bookmarks.js | 2 -- chrome/content/vimperator/commands.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/chrome/content/vimperator/bookmarks.js b/chrome/content/vimperator/bookmarks.js index 43932b51..cc7ff244 100644 --- a/chrome/content/vimperator/bookmarks.js +++ b/chrome/content/vimperator/bookmarks.js @@ -521,8 +521,6 @@ function Marks() //{{{ if (!ok) 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 diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 93e418fb..3973650c 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -510,7 +510,7 @@ function Commands() //{{{ }, { usage: ["ma[rk] {arg}"], - short_help: "Mark current location within the webpage", + short_help: "Mark current location within the webpage" } )); addDefaultCommand(new Command(["marks"],