From 08ed1ae30888086256f343be978cf7eb65cec9eb Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Fri, 10 Mar 2023 22:43:17 +0100 Subject: fix broken instance-response-fun --- lisp/mastodon-tl.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lisp/mastodon-tl.el') 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)) -- cgit v1.2.3