diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-09 14:00:39 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-09 14:00:39 +0100 |
commit | e847059950308eea45bb70736a33a6d4c348bfff (patch) | |
tree | 685207aebb6b09906bfb99249a1c209a6c37a165 /lisp/mastodon-tl.el | |
parent | 596a9498a8dcc2aecb28f94f9ba57766583f5fab (diff) |
use a proper dotted alist for response headers list
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r-- | lisp/mastodon-tl.el | 5 |
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: |