From 3cbfab81c2619d37ec04ea3e92bf562d8415314a Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Mon, 21 Nov 2022 11:06:56 +0100 Subject: http don't switch-to-buffer on response error --- lisp/mastodon-http.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/mastodon-http.el') diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 6e7bfb3..a556c2f 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -88,7 +88,7 @@ Message status and JSON error from RESPONSE if unsuccessful." (mastodon-http--status)))) (if (string-prefix-p "2" status) (funcall success) - (switch-to-buffer response) + ;; (switch-to-buffer response) ;; 404 returns http response not JSON: (if (string-prefix-p "404" status) (message "Error %s: page not found" status) -- cgit v1.2.3