aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-10 15:12:21 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-10 15:17:05 +0100
commit98838de25451a0cf1cf0b37eee2df62222b364ed (patch)
tree6a623eeeaf621e944cd917536773df2bf39cea0c
parent2a70e937c26a26be75a611e6a8b9d37385ea650f (diff)
notifs-get: force set kmap in buffer
-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: