branch: elpa/mastodon commit 328a18f5b2bf104a1e0df8b7ecf5b3ffc1e1bd21 Author: marty hiatt <martianhia...@disroot.org> Commit: marty hiatt <martianhia...@disroot.org>
full image display: message bindings if multiple images. #666 --- lisp/mastodon-media.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el index 85e341c5a1..87b58b8b38 100644 --- a/lisp/mastodon-media.el +++ b/lisp/mastodon-media.el @@ -366,7 +366,11 @@ STATUS-PLIST is a plist of status events as per `url-retrieve'." (setq-local mastodon-media--attachments (cons url attachments)))) ;; switch to buf if not already viewing it: (unless (equal buf prev-buf) - (switch-to-buffer-other-window buf))))) + (switch-to-buffer-other-window buf)) + ;; display bindings if multiple images: + (when (< 1 (length (cdr mastodon-media--attachments))) + (message (substitute-command-keys + "\\`.'/\\`>'/\\`<right>' to cycle images")))))) (defun mastodon-media--image-or-cached (url process-fun args) "Fetch URL from cache or fro host.