summaryrefslogtreecommitdiff
path: root/vimperator/content
diff options
context:
space:
mode:
authoranekos <anekos@snca.net>2009-02-10 11:31:29 +0900
committeranekos <anekos@snca.net>2009-02-10 11:31:29 +0900
commit9ef16288f0d172d802af9c426b88ec622e2b20be (patch)
tree50c5af7a6511aef501b1f54032db0a1340852c94 /vimperator/content
parentc9c708f636e6f25a54c301c85911c420f81a9dba (diff)
downloadpentadactyl-9ef16288f0d172d802af9c426b88ec622e2b20be.tar.gz
Fix: ':bmark' cannot bookmarks /['"]/ included URL.
Diffstat (limited to 'vimperator/content')
-rw-r--r--vimperator/content/bookmarks.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vimperator/content/bookmarks.js b/vimperator/content/bookmarks.js
index f099b36e..0d318a2d 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.length == 0 ? buffer.URL : args[0];
+ let url = args.literalArg || buffer.URL;
let title = args["-title"] || (args.length == 0 ? buffer.title : null);
let keyword = args["-keyword"] || null;
let tags = args["-tags"] || [];
@@ -363,6 +363,7 @@ function Bookmarks() //{{{
{
argCount: "?",
bang: true,
+ literal: 0,
completer: function (context, args)
{
if (!args.bang)