diff options
author | mousebot <mousebot@riseup.net> | 2021-10-23 11:53:01 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-10-23 11:53:01 +0200 |
commit | 117e4f8675a6ac96534350fb3dfc97abf8a70c39 (patch) | |
tree | f27015f6342c9708cbd1bb3b2e14031ebbf641b5 | |
parent | f892c5b28b829943619a0e810903c426308aa174 (diff) |
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
-rw-r--r-- | lisp/mastodon-tl.el | 3 |
1 files changed, 3 insertions, 0 deletions
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. |