branch: elpa/mastodon commit e1885da9c1126d436e7df374b6e3f115f697f788 Author: marty hiatt <martianhia...@disroot.org> Commit: marty hiatt <martianhia...@disroot.org>
move mastodon-notifications-grouped-types to file mastodon.el. --- lisp/mastodon-notifications.el | 5 ----- lisp/mastodon.el | 6 +++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el index b795db4041..0283692a32 100644 --- a/lisp/mastodon-notifications.el +++ b/lisp/mastodon-notifications.el @@ -132,11 +132,6 @@ Notification types are named according to their name on the server.") ("Edited" . "their post")) "Alist of subjects for notification types.") -(defvar mastodon-notifications-grouped-types - '("reblog" "favourite") ;; TODO: implement follow! - "List of notification types for which grouping is implemented. -Used in `mastodon-notifications-get'") - (defvar mastodon-notifications--action-alist '((reblog . "Boosted") (favourite . "Favourited") diff --git a/lisp/mastodon.el b/lisp/mastodon.el index aefdc67786..c092f43850 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -105,7 +105,11 @@ (defvar mastodon-tl--highlight-current-toot) (defvar mastodon-notifications--map) -(defvar mastodon-notifications-grouped-types) + +(defvar mastodon-notifications-grouped-types + '("reblog" "favourite") ;; TODO: implement follow! + "List of notification types for which grouping is implemented. +Used in `mastodon-notifications-get'") (defgroup mastodon nil "Interface with Mastodon."