diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-21 10:09:01 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-21 10:09:37 +0100 |
commit | 6e75db20584272ee4a9954129359f5e19d737d75 (patch) | |
tree | 1182c2bd1a88ff63535adb24a64d060b17cbfa65 /lisp/mastodon-notifications.el | |
parent | a093d196cf1ca5a533f9662c62718c92ac04e0d0 (diff) |
notifs: switch to filtered view when already in notifs view
we just have to set the let var propertly for filtered views.
Diffstat (limited to 'lisp/mastodon-notifications.el')
-rw-r--r-- | lisp/mastodon-notifications.el | 3 |
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)) |