New option: +jump-search-browser-fn

This commit is contained in:
Henrik Lissner 2017-09-28 18:06:07 +02:00
parent 24f59d4b0e
commit dd58479a18
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 1 deletions

View file

@ -130,5 +130,5 @@ for the provider."
(when (string-empty-p search)
(user-error "The search query is empty"))
(setq +jump--online-last provider)
(browse-url (format url (url-encode-url search))))
(funcall +jump-search-browser-fn (format url (url-encode-url search))))
('error (setq +jump--online-last nil))))