aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-views.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-04 10:05:06 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-04 10:07:50 +0200
commitf60859270753b6f2e6ef764e38c9952d5018df50 (patch)
tree9020e601e0fa68e658056124874f5c8790b7b10e /lisp/mastodon-views.el
parente4ccc526baf011ad60ef978aef83de2ee2e9f506 (diff)
no mastodon mode for view instance desc, so q works nicely
Diffstat (limited to 'lisp/mastodon-views.el')
-rw-r--r--lisp/mastodon-views.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-views.el b/lisp/mastodon-views.el
index b55091f..e3fa280 100644
--- a/lisp/mastodon-views.el
+++ b/lisp/mastodon-views.el
@@ -811,7 +811,9 @@ INSTANCE is the instance were are working with."
(assoc 'rules response)
(assoc 'stats response))))
(mastodon-views--print-json-keys response)
- (mastodon-mode)
+ ;; (mastodon-mode) ; breaks our 'q' binding that avoids leaving
+ ;; split window
+ (setq mastodon-account--data account)
(mastodon-tl--set-buffer-spec (buffer-name buf)
"instance"
nil)