aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authorAlexander Griffith <griffitaj@gmail.com>2018-03-10 06:01:17 -0500
committerJohnson Denen <johnson.denen@gmail.com>2018-08-10 22:20:04 -0400
commitae32d2f725dc90e3acb70a03d0a6fd2e4e660ccf (patch)
treeff400201cb529fbfc5d5bfb75b5570bf45fbef53 /lisp/mastodon.el
parent2e383b9718a84949218e6cfdf62c1030e310144c (diff)
Adds the notification timeline to mastodon.el closing #34. (#178)
- Can now handle notifications (follow reblog favourite and mention) - Tests for each of the rendering functions are included - Added keybinding N to mastodon.el for mastodon-notifications-get - added mastodon-notifications to ert-helper.el
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index c362513..16bb43f 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -140,6 +140,7 @@ If REPLY-TO-ID is non-nil, attach new toot to a conversation."
(define-key map [backtab] #'mastodon-tl--previous-tab-item)
(define-key map [?\S-\t] #'mastodon-tl--previous-tab-item)
(define-key map [?\M-\t] #'mastodon-tl--previous-tab-item)
+ (define-key map (kbd "N") #'mastodon-notifications--get)
))
(with-eval-after-load 'mastodon