branch: elpa/mastodon
commit f8e2e345280928817732b663497d04b5dce3e435
Author: marty hiatt <martianhia...@disroot.org>
Commit: marty hiatt <martianhia...@disroot.org>

    media: fix an if-let* spec
---
 lisp/mastodon-media.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/mastodon-media.el b/lisp/mastodon-media.el
index e85df1aca1..00f3eb155b 100644
--- a/lisp/mastodon-media.el
+++ b/lisp/mastodon-media.el
@@ -338,7 +338,7 @@ image-data prop so it can be toggled."
   "Callback function processing the `url-retrieve' response for URL.
 URL is a full-sized image URL attached to a timeline image.
 STATUS-PLIST is a plist of status events as per `url-retrieve'."
-  (if-let* (error-response (plist-get status-plist :error))
+  (if-let* ((error-response (plist-get status-plist :error)))
       (user-error "error in loading image: %S" error-response)
     (when mastodon-media--enable-image-caching
       (unless (url-is-cached url) ;; cache if not already cached

Reply via email to