aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-notifications.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 16:36:47 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 16:36:47 +0200
commitfa704169dfb18f080f4fbc25eb440dbf28ae2f2b (patch)
treeeb2f2ea61e24724bd6317e020ce772acd418aec7 /lisp/mastodon-notifications.el
parent5073a82d39914e1b753005520219ab949cd13f97 (diff)
parent0b65ec90bd829530fe8bef843f873c3ecc6c0721 (diff)
Merge branch 'develop'
Diffstat (limited to 'lisp/mastodon-notifications.el')
-rw-r--r--lisp/mastodon-notifications.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 32cc4ee..c0ca684 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -255,7 +255,7 @@ of the toot responded to."
(defun mastodon-notifications--timeline (json)
"Format JSON in Emacs buffer."
- (if (equal json '[])
+ (if (seq-empty-p json)
(message "Looks like you have no (more) notifications for the moment.")
(mapc #'mastodon-notifications--by-type json)
(goto-char (point-min))))