From 78eb53aacb42480a2b387b76ca90946b114985d3 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Mon, 16 Jan 2023 07:59:30 +0100 Subject: buffer-spec for toot-edits history and add check to get-buffer-type --- lisp/mastodon-tl.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-tl.el') 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. -- cgit v1.2.3