diff options
author | mousebot <mousebot@riseup.net> | 2021-05-10 16:24:51 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-05-10 16:28:29 +0200 |
commit | 4fcdb8c4b919b3a708684d1b373208dc67367664 (patch) | |
tree | db2b9bff0b473470ae026d5209e17a80ac009dec /lisp/mastodon-profile.el | |
parent | c69bf45a170a28934d18b762960845e773922514 (diff) |
add my profile function
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r-- | lisp/mastodon-profile.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index 2c6b798..254f042 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -190,6 +190,11 @@ following the current profile." (mastodon-profile--make-author-buffer account) (message "Cannot find a user with handle %S" user-handle)))) +(defun mastodon-profile--my-profile () + "Show the profile of the currently signed in user." + (interactive) + (mastodon-profile--show-user (mastodon-auth--get-account-name))) + (defun mastodon-profile--account-field (account field) "Return FIELD from the ACCOUNT. |