diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-20 21:01:04 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-21 10:04:10 +0100 |
commit | 9fe26b121470bb1182a239a102f82c5117395791 (patch) | |
tree | 6a57dd1d8c072adc6d5f42b946f4fce8bae7f2ed /lisp/mastodon.el | |
parent | 519c47e28c66a22b5c2b07bebf704ca4dcef5a2a (diff) |
edit toot at point
edit from notifs
we fetch 'base-toot or 'toot-json
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r-- | lisp/mastodon.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 57d5bd4..d10932b 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -92,6 +92,7 @@ (autoload 'mastodon-toot--translate-toot-text "mastodon-toot")) (autoload 'mastodon-search--trending-tags "mastodon-search") (autoload 'mastodon-profile--fetch-server-account-settings "mastodon-profile") +(autoload 'mastodon-toot--edit-toot-at-point "mastodon-toot") (defgroup mastodon nil "Interface with Mastodon." @@ -195,6 +196,7 @@ Use. e.g. \"%c\" for your locale's date and time format." (define-key map (kbd "G") #'mastodon-tl--get-follow-suggestions) (define-key map (kbd "X") #'mastodon-tl--view-lists) (define-key map (kbd "@") #'mastodon-notifications--get-mentions) + (define-key map (kbd "e") #'mastodon-toot--edit-toot-at-point) (when (require 'lingva nil :no-error) (define-key map (kbd "s") #'mastodon-toot--translate-toot-text)) map) |