aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormousebot <mousebot@riseup.net>2021-06-05 12:43:19 +0200
committermousebot <mousebot@riseup.net>2021-06-05 12:43:19 +0200
commita32a239d7e64d46df8e76c712a2335cecf8776e9 (patch)
tree8835e5713b81b50b96ef99f71636e67b06ab4f69 /lisp/mastodon.el
parent21bbab0885097ce7e47cbb88f9214c1f507adf87 (diff)
implement updating user profile note
uses a tiny minor mode 'profile-update', with bindings. U is a general binding for it.
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 4d0b940..c1c4360 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -73,6 +73,7 @@
(autoload 'mastodon-async--stream-local "mastodon-async")
(autoload 'mastodon-async--stream-home "mastodon-async")
(autoload 'mastodon-async--stream-notifications "mastodon-async")
+(autoload 'mastodon-profile--update-user-profile-note "mastodon-profile")
(defgroup mastodon nil
"Interface with Mastodon."
@@ -143,7 +144,8 @@ Use. e.g. \"%c\" for your locale's date and time format."
(define-key map (kbd "C-c h") #'mastodon-async--stream-home)
(define-key map (kbd "C-c f") #'mastodon-async--stream-federated)
(define-key map (kbd "C-c l") #'mastodon-async--stream-local)
- (define-key map (kbd "C-c n") #'mastodon-async--stream-notifications)
+ (define-key map (kbd "C-c n") #'mastodon-async--stream-notifications)
+ (define-key map (kbd "U") #'mastodon-profile--update-user-profile-note)
map)
"Keymap for `mastodon-mode'.")