diff options
author | mouse bot <mousebot@riseup.net> | 2021-11-06 16:37:44 +0000 |
---|---|---|
committer | mouse bot <mousebot@riseup.net> | 2021-11-06 16:37:44 +0000 |
commit | e738dbb2cbcdfa96fb6b8ce1d4cac0f209ab6a53 (patch) | |
tree | 52779083785878b701229e070153516453939fa3 /lisp/mastodon-media.el | |
parent | 027f24125fae4abc487207c8c81fdc0f20ec711d (diff) | |
parent | d5bab484a7f8593e095ff0fc97e903a38c62c951 (diff) |
Merge pull request 'Merge h_d's cleanups' (#8) from h_d/mastodon.el:cleanups into develop
Reviewed-on: https://git.blast.noho.st/mouse/mastodon.el/pulls/8
Diffstat (limited to 'lisp/mastodon-media.el')
-rw-r--r-- | lisp/mastodon-media.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el index 5f8f46c..f7386c6 100644 --- a/lisp/mastodon-media.el +++ b/lisp/mastodon-media.el @@ -161,7 +161,7 @@ with the image." t image-options)))) (when mastodon-media--enable-image-caching (unless (url-is-cached url) ; cache if not already cached - (url-store-in-cache url-buffer))) + (url-store-in-cache url-buffer))) (with-current-buffer (marker-buffer marker) ;; Save narrowing in our buffer (let ((inhibit-read-only t)) @@ -239,7 +239,7 @@ found." ;; Avatars are just one character in the buffer ((eq media-type 'avatar) (list next-pos (+ next-pos 1) 'avatar)) - ;; Media links are 5 character ("[img]") + ;; Media links are 5 character ("[img]") ((eq media-type 'media-link) (list next-pos (+ next-pos 5) 'media-link))))))) |