aboutsummaryrefslogtreecommitdiff
path: root/sx-notify.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2015-03-02 21:31:09 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2015-03-02 21:53:56 -0300
commitc151212966039601193f99698536e9284c98073c (patch)
tree6d4b7428c49acc9f736689f71f5bec2bcd8ebb9b /sx-notify.el
parent2de52c27e4a3fdc370039f8afacd8b212bcc37d4 (diff)
Set json-array-type to 'list and perform many simplifications
due to usage of lists instead of vectors
Diffstat (limited to 'sx-notify.el')
-rw-r--r--sx-notify.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/sx-notify.el b/sx-notify.el
index 0c9a5b8..24aa9b7 100644
--- a/sx-notify.el
+++ b/sx-notify.el
@@ -72,11 +72,11 @@
(setq sx-inbox--unread-inbox
(cl-remove-if
(lambda (x) (member (cdr (assq 'link x)) sx-inbox--read-inbox))
- (append (sx-inbox-get) nil)))
+ (sx-inbox-get)))
(setq sx-inbox--unread-notifications
(cl-remove-if
(lambda (x) (member (cdr (assq 'link x)) sx-inbox--read-notifications))
- (append (sx-inbox-get t) nil))))
+ (sx-inbox-get t))))
(provide 'sx-notify)
;;; sx-notify.el ends here