diff options
author | Case Duckworth | 2021-09-16 08:37:57 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-16 08:37:57 -0500 |
commit | 827914ac8ef805f9e2e664e95202710b2d39aac1 (patch) | |
tree | 9b085b9e1466b5d6b4de4cc2bd3ceb645ec041ac | |
parent | blech (diff) | |
download | emacs-827914ac8ef805f9e2e664e95202710b2d39aac1.tar.gz emacs-827914ac8ef805f9e2e664e95202710b2d39aac1.zip |
Add :open-secondary-multiple
-rw-r--r-- | init.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init.el b/init.el index 4a538f1..56b5408 100644 --- a/init.el +++ b/init.el | |||
@@ -1309,8 +1309,8 @@ specific to most general, they are these: | |||
1309 | w3m-link | 1309 | w3m-link |
1310 | w3m-message-link)) | 1310 | w3m-message-link)) |
1311 | (link-hint-define-type type | 1311 | (link-hint-define-type type |
1312 | :open-secondary browse-url-secondary-browser-function | 1312 | :open-secondary browse-url-secondary-browser-function |
1313 | :open-secondary-multiple t)) | 1313 | :open-secondary-multiple t)) |
1314 | 1314 | ||
1315 | (defun acdw/link-hint-open-all-links (prefix) | 1315 | (defun acdw/link-hint-open-all-links (prefix) |
1316 | "Open all visible links. | 1316 | "Open all visible links. |
@@ -1318,7 +1318,7 @@ When PREFIX is non-nil, open links with | |||
1318 | `browse-url-secondary-browser-function'." | 1318 | `browse-url-secondary-browser-function'." |
1319 | (interactive "P") | 1319 | (interactive "P") |
1320 | (avy-with link-hint-open-all-links | 1320 | (avy-with link-hint-open-all-links |
1321 | (link-hint--all (if prefix :open-secondary :open)))) | 1321 | (link-hint--all (if prefix :open-secondary :open)))) |
1322 | 1322 | ||
1323 | (defun acdw/link-hint-open-multiple-links (prefix) | 1323 | (defun acdw/link-hint-open-multiple-links (prefix) |
1324 | "Use `avy' to open multiple visible links at once. | 1324 | "Use `avy' to open multiple visible links at once. |
@@ -1326,7 +1326,7 @@ When PREFIX is non-nil, open links with | |||
1326 | `browse-url-secondary-browser-function'." | 1326 | `browse-url-secondary-browser-function'." |
1327 | (interactive "P") | 1327 | (interactive "P") |
1328 | (avy-with link-hint-open-multiple-links | 1328 | (avy-with link-hint-open-multiple-links |
1329 | (link-hint--multiple (if prefix :open-secondary :open)))) | 1329 | (link-hint--multiple (if prefix :open-secondary :open)))) |
1330 | 1330 | ||
1331 | (:option link-hint-avy-style 'post) | 1331 | (:option link-hint-avy-style 'post) |
1332 | (:global "C-;" | 1332 | (:global "C-;" |