Add :open-secondary-multiple
This commit is contained in:
parent
4f2b5439b9
commit
827914ac8e
8
init.el
8
init.el
|
@ -1309,8 +1309,8 @@ specific to most general, they are these:
|
|||
w3m-link
|
||||
w3m-message-link))
|
||||
(link-hint-define-type type
|
||||
:open-secondary browse-url-secondary-browser-function
|
||||
:open-secondary-multiple t))
|
||||
:open-secondary browse-url-secondary-browser-function
|
||||
:open-secondary-multiple t))
|
||||
|
||||
(defun acdw/link-hint-open-all-links (prefix)
|
||||
"Open all visible links.
|
||||
|
@ -1318,7 +1318,7 @@ When PREFIX is non-nil, open links with
|
|||
`browse-url-secondary-browser-function'."
|
||||
(interactive "P")
|
||||
(avy-with link-hint-open-all-links
|
||||
(link-hint--all (if prefix :open-secondary :open))))
|
||||
(link-hint--all (if prefix :open-secondary :open))))
|
||||
|
||||
(defun acdw/link-hint-open-multiple-links (prefix)
|
||||
"Use `avy' to open multiple visible links at once.
|
||||
|
@ -1326,7 +1326,7 @@ When PREFIX is non-nil, open links with
|
|||
`browse-url-secondary-browser-function'."
|
||||
(interactive "P")
|
||||
(avy-with link-hint-open-multiple-links
|
||||
(link-hint--multiple (if prefix :open-secondary :open))))
|
||||
(link-hint--multiple (if prefix :open-secondary :open))))
|
||||
|
||||
(:option link-hint-avy-style 'post)
|
||||
(:global "C-;"
|
||||
|
|
Loading…
Reference in New Issue