aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-30 23:24:45 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-30 23:24:45 +0200
commite18f266cf6e0032aa33c7b1d229bd09fbb3911b5 (patch)
tree58b530a6b7023412c90fc5ade4aae76a4d7f80da /lisp/mastodon-tl.el
parent3c40f6dbb855fb4a3100f1822c4d2a29c29737a2 (diff)
parentefe31d5230a0c310bdc1e2d53ca30c8123aaede2 (diff)
Merge branch 'main' into develop
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 45e7282..079af22 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -65,6 +65,7 @@
(autoload 'mastodon-search--insert-users-propertized "mastodon-search")
(autoload 'mastodon-search--get-user-info "mastodon-search")
(autoload 'mastodon-http--delete "mastodon-http")
+(autoload 'mastodon-profile--view-author-profile "mastodon-profile")
(when (require 'mpv nil :no-error)
(declare-function mpv-start "mpv"))
@@ -196,9 +197,10 @@ types of mastodon links and not just shr.el-generated ones.")
(when (require 'mpv nil :no-error)
(let ((map (make-sparse-keymap)))
(define-key map (kbd "<C-return>") 'mastodon-tl--mpv-play-video-from-byline)
+ (define-key map (kbd "<return>") 'mastodon-profile--view-author-profile)
(keymap-canonicalize map)))
"The keymap to be set for the author byline.
-The idea is that you can play media without navigating to it.")
+It is active where point is placed by `mastodon-tl--goto-next-toot.'")
(defun mastodon-tl--next-tab-item ()
"Move to the next interesting item.