diff options
author | mousebot <mousebot@riseup.net> | 2022-04-05 17:17:59 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2022-04-05 17:17:59 +0200 |
commit | fb69058495574a73df17856014c42370b23d81d7 (patch) | |
tree | 08e34c5fdf5bde0ddc8398ea141fd337b6b1dc9a /lisp/mastodon-media.el | |
parent | adccdcd22a527720efaa38f57f3077d70687bdfe (diff) |
flychecks and docstrings
Diffstat (limited to 'lisp/mastodon-media.el')
-rw-r--r-- | lisp/mastodon-media.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el index 383e062..e5a1111 100644 --- a/lisp/mastodon-media.el +++ b/lisp/mastodon-media.el @@ -310,7 +310,8 @@ Replace them with the referenced image." (defun mastodon-media--get-media-link-rendering (media-url &optional full-remote-url type caption) "Return the string to be written that renders the image at MEDIA-URL. FULL-REMOTE-URL is used for `shr-browse-image'. -TYPE is the attachment's type field on the server." +TYPE is the attachment's type field on the server. +CAPTION is the image caption if provided." (let* ((help-echo-base "RET/i: load full image (prefix: copy URL), +/-: zoom, r: rotate, o: save preview") (help-echo (if caption (concat help-echo-base |