diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-28 13:51:47 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-28 13:51:47 +0100 |
commit | f5985d7c762ca2cffb6c067e83bc4d5b1c678dca (patch) | |
tree | 2e856b0cf1b7534cfa09a7d3b89760eddff48201 /lisp/mastodon-async.el | |
parent | 593ad71b2c331d6aeb24dcfb943d4cc435e36bf3 (diff) | |
parent | 119d0de0ec1e916fc14a083368ac32e488d1263b (diff) |
Merge branch 'develop' into remove-from-followers
Diffstat (limited to 'lisp/mastodon-async.el')
-rw-r--r-- | lisp/mastodon-async.el | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lisp/mastodon-async.el b/lisp/mastodon-async.el index 8a08416..58e7b93 100644 --- a/lisp/mastodon-async.el +++ b/lisp/mastodon-async.el @@ -229,14 +229,11 @@ ENDPOINT is the endpoint for the stream and timeline." (mastodon-tl--timeline (mastodon-http--get-json (mastodon-http--api endpoint)))) (mastodon-mode) - (setq mastodon-tl--buffer-spec - `(buffer-name - ,buffer-name - endpoint ,endpoint - update-function - ,(if (equal name "notifications") - 'mastodon-notifications--timeline - 'mastodon-tl--timeline))) + (mastodon-tl--set-buffer-spec buffer-name + endpoint + ,(if (equal name "notifications") + 'mastodon-notifications--timeline + 'mastodon-tl--timeline)) (setq-local mastodon-tl--enable-relative-timestamps nil) (setq-local mastodon-tl--display-media-p t) (current-buffer)))) |