From 5d365fd5af58f715cf0e95a407cc6d840054a29b Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 26 Apr 2023 21:14:51 +0200 Subject: profile-show-user: allow calling when point on profile header. --- lisp/mastodon-profile.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp') diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index 241fbbe..296616d 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -724,6 +724,7 @@ IMG-TYPE is the JSON key from the account data." (if (not (or ;; own profile has no need for toot-json test: (equal user-handle (mastodon-auth--get-account-name)) + (mastodon-tl--profile-buffer-p) (mastodon-tl--property 'toot-json :no-move))) (message "Looks like there's no toot or user at point?") (let ((account (mastodon-profile--lookup-account-in-status -- cgit v1.2.3