diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-17 13:38:51 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-17 13:38:51 +0100 |
commit | 560292b335e89101f00a941bca30143c4fda9275 (patch) | |
tree | 3ad70f57f4fa186dd42e63a36b28cdb51f730f74 | |
parent | c036cf9a9788ac5676cd32f8a4becd3c1e7ff77c (diff) |
binding for clear notif at point
-rw-r--r-- | README.org | 1 | ||||
-rw-r--r-- | lisp/mastodon-notifications.el | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -155,6 +155,7 @@ take place if your =mastodon-token-file= does not contain =:client_id= and |---------------+-----------------------------------------------------------------------| | | Notifications view | | =a=, =j= | accept/reject follow request | +| =c= | clear notification at point | |---------------+-----------------------------------------------------------------------| | | *Quitting* | | =q= | Quit mastodon buffer, leave window open | diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el index 27b01c1..bb01b77 100644 --- a/lisp/mastodon-notifications.el +++ b/lisp/mastodon-notifications.el @@ -79,6 +79,7 @@ (copy-keymap mastodon-mode-map))) (define-key map (kbd "a") #'mastodon-notifications--follow-request-accept) (define-key map (kbd "j") #'mastodon-notifications--follow-request-reject) + (define-key map (kbd "c") #'mastodon-notifications--clear-current) (define-key map (kbd "g") #'mastodon-notifications--get) (keymap-canonicalize map)) "Keymap for viewing notifications.") |