diff options
author | marty hiatt <martianhiatus@riseup.net> | 2023-12-08 14:11:58 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus@riseup.net> | 2023-12-08 14:11:58 +0100 |
commit | c9c9487968c7c03fbeac3fe67d5699961d030fa8 (patch) | |
tree | a0f5f171af25612792cde39e4d18ae9003cde84c /lisp/mastodon-tl.el | |
parent | 0c048e154b5599fb83a2b2b8cc2579e1eef7eb39 (diff) |
docstring
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 3ee12a9..ca09a0f 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1064,7 +1064,8 @@ message is a link which unhides/hides the main body." STR is the string to propertize, MEDIA-URL is the preview link, FULL-REMOTE-URL is the link to the full resolution image on the server, TYPE is the media type. -HELP-ECHO, DISPLAY, and FACE are the text properties to add." +HELP-ECHO, DISPLAY, and FACE are the text properties to add. +CAPTION is the image caption, added as a text property." (propertize str 'media-url media-url 'media-state (when (string= str "[img]") 'needs-loading) |