From 117e4f8675a6ac96534350fb3dfc97abf8a70c39 Mon Sep 17 00:00:00 2001 From: mousebot Date: Sat, 23 Oct 2021 11:53:01 +0200 Subject: stop shr-image-map taking over our 'u' binding - the shr-maybe-probe-and-copy-url function is already bound to 'w' as well, so we don't lose it by doing this --- lisp/mastodon-tl.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 904d850..7f9538b 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -149,6 +149,9 @@ types of mastodon links and not just shr.el-generated ones.") ;; browse-url loads the preview only, we want browse-image ;; on RET to browse full sized image URL (define-key map [remap shr-browse-url] 'shr-browse-image) + ;; remove shr's u binding, as it the maybe-probe-and-copy-url + ;; is already bound to w also + (define-key map (kbd "u") 'mastodon-tl--update) (keymap-canonicalize map)) "The keymap to be set for shr.el generated image links. -- cgit v1.2.3