aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index a2194b7..4a0f40c 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1949,10 +1949,7 @@ RESPONSE is the data returned from the server by `mastodon-http--process-json',
(let* ((json (if headers (car response) response))
(headers (if headers (cdr response) nil))
(link-header (when headers
- (split-string
- (car
- (alist-get "Link" headers nil nil 'equal))
- ", "))))
+ (split-string (alist-get "Link" headers nil nil 'equal) ", "))))
(with-output-to-temp-buffer buffer
(switch-to-buffer buffer)
;; mastodon-mode wipes buffer-spec, so order must unforch be: