aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-notifications.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-notifications.el')
-rw-r--r--lisp/mastodon-notifications.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index c4570ea..62cdfe7 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -280,7 +280,8 @@ of the toot responded to."
"Display NOTIFICATIONS in buffer.
Optionally only print notifications of type TYPE, a string."
(interactive)
- (let ((buffer "*mastodon-notifications*"))
+ (let ((buffer (or (concat "*mastodon-" buffer-name)
+ "*mastodon-notifications*")))
(if (get-buffer buffer)
(progn (switch-to-buffer buffer)
(mastodon-tl--update))