aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-10-23 11:31:52 +0200
committermousebot <mousebot@riseup.net>2021-10-23 11:31:52 +0200
commitf892c5b28b829943619a0e810903c426308aa174 (patch)
tree29db531b2d59769d995e7fceea82a7ac71434722 /lisp/mastodon.el
parent143dc33f576fe9a6a4bff38d6f732efa2aede654 (diff)
rewrite bookmark-toot as toggle
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 57f5721..7f4b773 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -82,6 +82,7 @@
(autoload 'mastodon-tl--poll-vote "mastodon-http")
(autoload 'mastodon-toot--delete-and-redraft-toot "mastodon-toot")
(autoload 'mastodon-profile--view-bookmarks "mastodon-profile")
+(autoload 'mastodon-toot--bookmark-toot-toggle "mastodon-toot")
(defgroup mastodon nil
"Interface with Mastodon."
@@ -158,7 +159,7 @@ Use. e.g. \"%c\" for your locale's date and time format."
(define-key map (kbd "a") #'mastodon-notifications--follow-request-accept-notifs)
(define-key map (kbd "j") #'mastodon-notifications--follow-request-reject-notifs)
(define-key map (kbd "v") #'mastodon-tl--poll-vote)
- (define-key map (kbd "k") #'mastodon-toot--bookmark-toot)
+ (define-key map (kbd "k") #'mastodon-toot--bookmark-toot-toggle)
(define-key map (kbd "K") #'mastodon-profile--view-bookmarks)
map)