aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-01-16 07:59:30 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-01-16 07:59:30 +0100
commit78eb53aacb42480a2b387b76ca90946b114985d3 (patch)
treeee1bf44dd79a34d6c3fd479b32ed5d88c6c0f147 /lisp/mastodon-tl.el
parent971bd61295d75982184cb834adecfde114983d41 (diff)
buffer-spec for toot-edits history and add check to get-buffer-type
Diffstat (limited to 'lisp/mastodon-tl.el')
-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 96aaf4b..e01d3a7 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1474,7 +1474,9 @@ Should work in all mastodon buffers."
'scheduled-statuses)
;; instance description
((string= "instance" endpoint-fun)
- 'instance-description))))
+ 'instance-description)
+ ((string= "*mastodon-toot-edits*" buffer-name-fun)
+ 'toot-edits))))
(defun mastodon-tl--has-toots-p ()
"Return non-nil if the current buffer contains toots.