emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/mastodon c08a84f82b 16/18: notifs cycle: buff type mention


From: ELPA Syncer
Subject: [nongnu] elpa/mastodon c08a84f82b 16/18: notifs cycle: buff type mentions or notifs
Date: Mon, 2 Dec 2024 16:00:35 -0500 (EST)

branch: elpa/mastodon
commit c08a84f82be4ec53dfdb2e96091f9c077123411b
Author: marty hiatt <martianhiatus@disroot.org>
Commit: marty hiatt <martianhiatus@disroot.org>

    notifs cycle: buff type mentions or notifs
---
 lisp/mastodon-notifications.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 072e492ff8..c3b71beb4f 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -528,7 +528,8 @@ Optionally specify TYPE."
 With arg PREFIX, `completing-read' a type and load it."
   (interactive "P")
   ;; FIXME: do we need a sept buffer-type result for all notifs views?
-  (if (not (mastodon-tl--buffer-type-eq 'notifications))
+  (if (not (or (mastodon-tl--buffer-type-eq 'notifications)
+               (mastodon-tl--buffer-type-eq 'mentions)))
       (user-error "Not in a notifications view")
     (let* ((choice
             (if prefix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]