aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-01-14 07:20:14 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-01-14 09:12:52 +0100
commit69dcaa6136a31553674f85fc6f1536a2167e1307 (patch)
tree228f2938a6d7a913be29fa5ff2fe652a3c184cbd /lisp/mastodon-tl.el
parente7435eddc825beae3e9d68c4aba8ee08179e41f6 (diff)
add list timelines and scheduled statuses to --get-buffer-type
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index d41e403..732e1c0 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1425,6 +1425,8 @@ Should work in all mastodon buffers."
'local)
((string-prefix-p "timelines/tag/" (mastodon-tl--get-endpoint))
'tag-timeline)
+ ((string-prefix-p "timelines/list/" (mastodon-tl--get-endpoint))
+ 'tag-timeline)
;; notifs:
((string= "notifications" (mastodon-tl--get-endpoint))
'notifications)
@@ -1451,7 +1453,7 @@ Should work in all mastodon buffers."
;; User's views:
((string= "filters" (mastodon-tl--get-endpoint))
'filters)
- ((string-prefix-p "lists" (mastodon-tl--get-endpoint))
+ ((string= "lists" (mastodon-tl--get-endpoint))
'lists)
((string= "suggestions" (mastodon-tl--get-endpoint))
'follow-suggestions)
@@ -1461,9 +1463,11 @@ Should work in all mastodon buffers."
'bookmarks)
((string= "follow_requests" (mastodon-tl--get-endpoint))
'follow-requests)
+ ((string= "scheduled_statuses" (mastodon-tl--get-endpoint))
+ 'scheduled-statuses)
;; profile note
((string-suffix-p "update-profile*" (mastodon-tl--buffer-name))
- 'update-profile-note)
+ 'update-profile-note)
;; instance description
((string= "instance" (mastodon-tl--get-endpoint))
'instance-description)))