[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 95d06a03eb 15/18: flycheck notifs.el
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 95d06a03eb 15/18: flycheck notifs.el |
Date: |
Mon, 2 Dec 2024 16:00:35 -0500 (EST) |
branch: elpa/mastodon
commit 95d06a03eb4bbac09e060348e8e9d79bce9377e4
Author: marty hiatt <martianhiatus@disroot.org>
Commit: marty hiatt <martianhiatus@disroot.org>
flycheck notifs.el
---
lisp/mastodon-notifications.el | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 433fd309da..072e492ff8 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -63,6 +63,9 @@
(autoload 'mastodon-tl--image-trans-check "mastodon-tl")
(autoload 'mastodon-tl--symbol "mastodon-tl")
(autoload 'mastodon-tl--display-or-uname "mastodon-tl")
+(autoload 'mastodon-tl--goto-next-item "mastodon-tl")
+(autoload 'mastodon-tl--buffer-type-eq "mastodon-tl")
+(autoload 'mastodon-tl--buffer-property "mastodon-tl")
;; notifications defcustoms moved into mastodon.el
;; as some need to be available without loading this file
@@ -493,7 +496,8 @@ NO-GROUP means don't render grouped notifications."
(mastodon-media--inline-images start-pos (point)))))))
(defun mastodon-notifications--timeline (json &optional type)
- "Format JSON in Emacs buffer."
+ "Format JSON in Emacs buffer.
+Optionally specify TYPE."
(if (seq-empty-p json)
(user-error "Looks like you have no (more) notifications for now")
(mastodon-widget--create
@@ -509,7 +513,8 @@ NO-GROUP means don't render grouped notifications."
(mastodon-tl--goto-next-item)))
(defun mastodon-notifications--get-type (&optional type)
- "Read a notification type and load its timeline."
+ "Read a notification type and load its timeline.
+Optionally specify TYPE."
(let ((choice (or type
(completing-read
"View notifications: "
@@ -520,11 +525,11 @@ NO-GROUP means don't render grouped notifications."
(defun mastodon-notifications--cycle-type (&optional prefix)
"Cycle the current notifications view.
-With a prefix arg, completing-read a type and load it."
+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))
- (user-error "Not in a notifications view.")
+ (user-error "Not in a notifications view")
(let* ((choice
(if prefix
(completing-read "Notifs by type: "
- [nongnu] elpa/mastodon updated (cf64163130 -> 10be1f9c28), ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 2cfaf7458c 01/18: prefix for profile cycle completing-read. FIX #624., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 7b98a4ca2a 02/18: notifs: typo in fun name prefix, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 7bc28cc75f 12/18: add prefix and view check to notif cycle, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 12d174dfd3 06/18: thread-do on reload after reply and bookmark load. FIX #625, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon a472f873a3 09/18: add widget to notifs view., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 1545f3b78e 05/18: get-toot-author: never get booster profile. #630., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon e9f77777dd 11/18: add cycle notif function. FIX #628., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 10be1f9c28 18/18: Merge branch 'develop', ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 95d06a03eb 15/18: flycheck notifs.el,
ELPA Syncer <=
- [nongnu] elpa/mastodon 241d26dc1f 10/18: notif types: use types[] not exclude_types[], ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon be4a64a4ff 13/18: index, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon ba7e98c29c 17/18: bump, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 08307fee1b 14/18: notifs: require mastodon-widget, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon c08a84f82b 16/18: notifs cycle: buff type mentions or notifs, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 00b1ac63d5 04/18: notifications--render: fallback to first id if no status_id. ??, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon e400757d24 03/18: view notifs by type, w completing-read. #628., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 213b5b4f5f 07/18: get-toot-author: use do-if-item, not with-toot-item., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 2bfd9f097d 08/18: align mastodon keymap, ELPA Syncer, 2024/12/02