From d5226fc252ac942bf1f7975be0407fa838e3b024 Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 10 Feb 2009 23:28:29 +0900 Subject: [PATCH] Revert "Fix: ':bmark' cannot bookmarks /['"]/ included URL." This reverts commit fc46e6c4157406fa9706074e3932d153216a9bd3. --- vimperator/content/bookmarks.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vimperator/content/bookmarks.js b/vimperator/content/bookmarks.js index 0d318a2d..f099b36e 100644 --- a/vimperator/content/bookmarks.js +++ b/vimperator/content/bookmarks.js @@ -347,7 +347,7 @@ function Bookmarks() //{{{ "Add a bookmark", function (args) { - let url = args.literalArg || buffer.URL; + let url = args.length == 0 ? buffer.URL : args[0]; let title = args["-title"] || (args.length == 0 ? buffer.title : null); let keyword = args["-keyword"] || null; let tags = args["-tags"] || []; @@ -363,7 +363,6 @@ function Bookmarks() //{{{ { argCount: "?", bang: true, - literal: 0, completer: function (context, args) { if (!args.bang)