diff options
author | mousebot <mousebot@riseup.net> | 2021-10-20 15:16:21 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-10-20 15:16:21 +0200 |
commit | b74f24d483d3f7a478fc93eae21aa8c1e6154e24 (patch) | |
tree | 8468d10a9bc161222307adb65083ed9714130eff /lisp | |
parent | 636367b43d3f4ff1f6362a5e7e47016fc2a69d89 (diff) |
revert leftover caching things from merging image-previews branch
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-media.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el index 3016d33..a401de5 100644 --- a/lisp/mastodon-media.el +++ b/lisp/mastodon-media.el @@ -135,7 +135,7 @@ fKRJkmVZjAQwh78A6vCRWJE8K+8AAAAASUVORK5CYII=") "The PNG data for a generic 200x200 'broken image' view.") (defun mastodon-media--process-image-response - (status-plist marker image-options region-length url) + (status-plist marker image-options region-length) "Callback function processing the url retrieve response for URL. STATUS-PLIST is the usual plist of status events as per `url-retrieve'. @@ -156,8 +156,6 @@ REGION-LENGTH is the length of the region that should be replaced with the image (when image-options 'imagemagick) nil) ; inbuilt scaling in 27.1 t image-options)))) - (unless (url-is-cached url) ; cache image if not already cached - (url-store-in-cache url-buffer)) (with-current-buffer (marker-buffer marker) ;; Save narrowing in our buffer (let ((inhibit-read-only t)) |