aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-03-13 12:45:45 +0100
committermarty hiatt <martianhiatus@riseup.net>2024-03-13 12:45:45 +0100
commit59f5f9ff99359cc1cefaf84194a194af2ee1fadb (patch)
treed6f6f098dd505ed79c49ff1fccb649fbff0b3eeb
parent71b92fdd9c3e7a56542efcf65dadd2475785c609 (diff)
add masto-image to get-buffer-type
-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 d8cb865..0bfa613 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1715,7 +1715,9 @@ call this function after it is set or use something else."
((mastodon-tl--endpoint-str-= "instance")
'instance-description)
((string= "*mastodon-toot-edits*" buffer-name)
- 'toot-edits))))
+ 'toot-edits)
+ ((string= "*masto-image*" (buffer-name))
+ 'mastodon-image))))
(defun mastodon-tl--buffer-type-eq (type)
"Return t if current buffer type is equal to symbol TYPE."