aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-12-21 09:41:56 +0100
committermousebot <mousebot@riseup.net>2021-12-21 09:41:56 +0100
commit5f28753c3502997ac2e1638d76e5d26b09bc6c15 (patch)
treeca738bc804995ce46d58a6a6757d56bcc0584344
parent91e286e04b2a8a181955b40ab3934214076e33d2 (diff)
override 'O' binding on links to my-profile
-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 61b2885..004aa4a 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -128,6 +128,8 @@ etc.")
;; version that knows about more types of links.
(define-key map [remap shr-next-link] 'mastodon-tl--next-tab-item)
(define-key map [remap shr-previous-link] 'mastodon-tl--previous-tab-item)
+ ;; 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 links that are not images.