:open opens quickmark when given a quckmark name
This commit is contained in:
parent
b48b7eddc8
commit
bf44636a24
@ -249,12 +249,15 @@ class CommandDispatcher:
|
||||
"set!")
|
||||
else:
|
||||
try:
|
||||
url = urlutils.fuzzy_url(url)
|
||||
except urlutils.InvalidUrlError as e:
|
||||
# We don't use cmdexc.CommandError here as this can be called
|
||||
# async from edit_url
|
||||
message.error(self._win_id, str(e))
|
||||
return
|
||||
url = objreg.get('quickmark-manager').get(url)
|
||||
except urlmarks.Error:
|
||||
try:
|
||||
url = urlutils.fuzzy_url(url)
|
||||
except urlutils.InvalidUrlError as e:
|
||||
# We don't use cmdexc.CommandError here as this can be called
|
||||
# async from edit_url
|
||||
message.error(self._win_id, str(e))
|
||||
return
|
||||
if tab or bg or window:
|
||||
self._open(url, tab, bg, window)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user