aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-10 22:43:17 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-03-10 22:43:41 +0100
commitb9c46ac6e5a8043ad41f14e237195a6506619aee (patch)
tree37117a0c6c9146818c0cdbcf708a1a67bf97f7d3
parent15ad9d08dcd11795986fac0cade255306dfb9e96 (diff)
fix broken instance-response-fun
-rw-r--r--lisp/mastodon-tl.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 0309d20..9c12f84 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2339,15 +2339,15 @@ INSTANCE is an instance domain name."
nil ; params
nil ; silent
:vector)))
- (mastodon-tl--instance-response-fun response brief)))))
+ (mastodon-tl--instance-response-fun response brief instance)))))
(defun mastodon-tl--instance-response-fun (response brief instance)
"Display instance description RESPONSE in a new buffer.
BRIEF means to show fewer details."
(when response
- (let ((domain (url-file-nondirectory instance))
- (buf (get-buffer-create
- (format "*mastodon-instance-%s*" domain))))
+ (let* ((domain (url-file-nondirectory instance))
+ (buf (get-buffer-create
+ (format "*mastodon-instance-%s*" domain))))
(with-current-buffer buf
(switch-to-buffer-other-window buf)
(let ((inhibit-read-only t))