diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-21 11:06:56 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-21 11:06:56 +0100 |
commit | 3cbfab81c2619d37ec04ea3e92bf562d8415314a (patch) | |
tree | 39ef083a5f8a281104a777e0452d9f1dac911e34 /lisp | |
parent | 96829d0d1d61650bd5ee05d06dcb94ff764c2ca6 (diff) |
http don't switch-to-buffer on response error
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mastodon-http.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |