aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 0f3862a..ad214e8 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2355,7 +2355,9 @@ HEADERS is the http headers returned in the response, if any."
((equal "hashtags" (mastodon-search--buf-type))
(alist-get 'hashtags response))
((equal "accounts" (mastodon-search--buf-type))
- (alist-get 'accounts response))))
+ (alist-get 'accounts response))
+ (t
+ json)))
(headers (if headers (cdr response) nil))
(link-header (mastodon-tl--get-link-header-from-response headers)))
(goto-char (point-max))