From 4ffed9b40a6c432708273dfba89cbe8e854daf76 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 1 Sep 2020 23:09:50 -0400 Subject: eww-follow-link: Flip meaning of single and double prefix arg --- init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/init.el b/init.el index 1eff0bd..ddd31cd 100644 --- a/init.el +++ b/init.el @@ -2391,6 +2391,19 @@ (setq bookmark-save-flag nil) +(use-package eww + :config + (advice-add + 'eww-follow-link :around + (lambda (fn &optional external mouse-event) + (funcall fn + (pcase external + ('(4) (list 16)) + ('(16) (list 4)) + (_ external)) + mouse-event)) + '((name . "eww-follow-link--flip-external")))) + (use-package timer-list :init (put 'list-timers 'disabled nil)) -- cgit v1.2.3