aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-24 12:58:22 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-24 12:58:22 +0100
commit1713abbe28c4a8ad684b651450b2c6e06a512c9a (patch)
treeba4b80320fdd0718764671cc01a9af809fe8d988
parentf5420dd98a335d434f3cdc2c8456504f25c6ac9d (diff)
discover.el - remove (when (require and RET, both break it
-rw-r--r--lisp/mastodon-discover.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/mastodon-discover.el b/lisp/mastodon-discover.el
index 5d1a86e..5b8141b 100644
--- a/lisp/mastodon-discover.el
+++ b/lisp/mastodon-discover.el
@@ -57,8 +57,8 @@
("p" "Prev" mastodon-tl--goto-prev-toot)
("TAB" "Next link item" mastodon-tl--next-tab-item)
("S-TAB" "Prev link item" mastodon-tl--previous-tab-item)
- (when (require 'mpv nil :noerror)
- ("C-RET" "Play media" mastodon-tl--mpv-play-video-at-point))
+ ;; NB: (when (require 'mpv etc. calls don't work here
+ ("C-RET" "Play media" mastodon-tl--mpv-play-video-at-point)
("t" "New toot" mastodon-toot)
("r" "Reply" mastodon-toot--reply)
("C" "Copy toot URL" mastodon-toot--copy-toot-url)
@@ -66,8 +66,7 @@
("D" "Delete and redraft (your) toot" mastodon-toot--delete-toot)
("i" "Pin/Unpin (your) toot" mastodon-toot--pin-toot-toggle)
("P" "View user profile" mastodon-profile--show-user)
- (when (require 'lingva nil :noerror)
- "s" "Translate toot at point" mastodon-toot--translate-toot-text)
+ ("s" "Translate toot at point" mastodon-toot--translate-toot-text)
("T" "View thread" mastodon-tl--thread)
("v" "Vote on poll" mastodon-tl--poll-vote))
("Views"
@@ -94,7 +93,8 @@
("B" "Block" mastodon-tl--block-user)
("C-S-B" "Unblock" mastodon-tl--unblock-user))
("Images"
- ("RET/i" "Load full image in browser" 'shr-browse-image)
+ ;; RET errors here also :/
+ ("<return>/i" "Load full image in browser" 'shr-browse-image)
("r" "rotate" 'image-rotate)
("+" "zoom in" 'image-increase-size)
("-" "zoom out" 'image-decrease-size)