aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-12-17 14:15:38 +0100
committermousebot <mousebot@riseup.net>2021-12-17 14:15:38 +0100
commitc65c6231f29929b6e39ebcc9b866d492519ae19b (patch)
tree76be863aeb318606a195a5fe913fd6c15f825ab7
parent439d87ecfa8684a5f218ccb3e7c6e1d4566f378b (diff)
keep "O"/my-profile binding when point on image.
-rw-r--r--lisp/mastodon-tl.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index ff066f4..67ce4eb 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -148,6 +148,8 @@ types of mastodon links and not just shr.el-generated ones.")
;; 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)
+ ;; keep new my-profile binding; shr 'O' doesn't work here anyway
+ (define-key map (kbd "O") 'mastodon-profile--my-profile)
(keymap-canonicalize map))
"The keymap to be set for shr.el generated image links.