aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-09 13:22:04 +0200
committermousebot <mousebot@riseup.net>2021-10-18 20:49:57 +0200
commitba15ee5892907ddb6ad653dfcb3850f9622d7517 (patch)
tree5d1cc87f480279766397ea86fa2a597d7fcf8fd8 /lisp
parent0034797ed285eff9ca85448b21a39fa27f40a3ce (diff)
handle cached images
when we fetch images, check if they are cached, and if so use the cached version. for now, images aren't cached explicitly, but this should work if the user has `url-automatic-caching' enabled.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-media.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index 8aadf0a..b526841 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -209,7 +209,7 @@ REGION-LENGTH is the range from start to propertize."
'media-state
'loading-failed)
:loading-failed))))))
-
+H
(defun mastodon-media--select-next-media-line (end-pos)
"Find coordinates of the next media to load before END-POS.