aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/mastodon.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index cd4cf13..c7c674a 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -294,7 +294,8 @@ BUFFER-NAME is added to \"*mastodon-\" to create the buffer name."
"notifications"
'mastodon-notifications--timeline
type)
- (use-local-map mastodon-notifications--map))))
+ (with-current-buffer buffer
+ (use-local-map mastodon-notifications--map)))))
;; URL lookup: should be available even if `mastodon.el' not loaded: