aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-profile.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-14 22:34:11 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-14 22:34:11 +0100
commit0afa65610f8f4cda5a7bfc212705a720190ce1a2 (patch)
tree3b8c4ebc87dd5d31f423492db99bb34bbc41a2a0 /lisp/mastodon-profile.el
parent924483d186f99b986dee8ee95db03c063f396759 (diff)
with-current-buffer for use-local-map calls
Diffstat (limited to 'lisp/mastodon-profile.el')
-rw-r--r--lisp/mastodon-profile.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el
index 6af9a94..090f685 100644
--- a/lisp/mastodon-profile.el
+++ b/lisp/mastodon-profile.el
@@ -238,8 +238,9 @@ NO-REBLOGS means do not display boosts in statuses."
(mastodon-tl--init-sync "follow-requests"
"follow_requests"
'mastodon-profile--insert-follow-requests)
- (use-local-map mastodon-profile--view-follow-requests-keymap)
- (mastodon-tl--goto-first-item))
+ (mastodon-tl--goto-first-item)
+ (with-current-buffer "*mastodon-follow-requests*"
+ (use-local-map mastodon-profile--view-follow-requests-keymap)))
(defun mastodon-profile--insert-follow-requests (json)
"Insert the user's current follow requests.