aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-01-15 08:18:55 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-01-15 08:18:55 +0100
commit3506668a6ab9449816c46f827f249ebd2a5d8ac9 (patch)
tree57989664934f383d547cfb1d7f1fd152a75e22ff
parentc7ba4d7739e578d7983c3338ac9fbc198a377f49 (diff)
fix set buffer-spec for instance-description
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index a240f67..31ef328 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2240,9 +2240,6 @@ INSTANCE is an instance domain name."
(let ((buf (get-buffer-create "*mastodon-instance*")))
(with-current-buffer buf
(switch-to-buffer-other-window buf)
- (mastodon-tl--set-buffer-spec (buffer-name buf)
- "instance"
- nil)
(let ((inhibit-read-only t))
(erase-buffer)
(special-mode)
@@ -2260,6 +2257,9 @@ INSTANCE is an instance domain name."
(assoc 'stats response))))
(mastodon-tl--print-json-keys response)
(mastodon-mode)
+ (mastodon-tl--set-buffer-spec (buffer-name buf)
+ "instance"
+ nil)
(goto-char (point-min)))))))))
(defun mastodon-tl--format-key (el pad)