aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-12-21 09:41:56 +0100
committermousebot <mousebot@riseup.net>2021-12-21 19:26:44 +0100
commitac192b47f90bbea9682c4c47c0188d9678665cfc (patch)
treec871c0f84fcf3c39a9fa2483d63b305755e94d2d
parent5c894196298f8f5dfdddefeccb1e4694c0fc1a6f (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 c2cfdb2..f1c66a4 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.