New option: +jump-search-browser-fn
This commit is contained in:
parent
24f59d4b0e
commit
dd58479a18
|
@ -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))))
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
"An alist that maps online resources to their search url or a function that
|
||||
produces an url. Used by `+jump/online'.")
|
||||
|
||||
(defconst +jump-search-browser-fn #'browse-url
|
||||
"Function to use to open search urls.")
|
||||
|
||||
(defvar +jump-function-alist nil
|
||||
"TODO")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user