aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authorRahguzar <rahguzar@zohomail.eu>2024-01-06 12:32:57 +0100
committerRahguzar <rahguzar@zohomail.eu>2024-01-06 12:32:57 +0100
commit445d176b2a593a87afd3f6bca717feba639dfbdc (patch)
tree5ae3cafa7cc412e1bd8b32b7e0a9477d732739f8 /lisp/mastodon-http.el
parent4a8a102b3b4f8483af5b688e7ea480ff6b8dc2ed (diff)
Replace 'switch-to-buffer' with 'display-buffer' or 'pop-to-buffer'
This allows user to customize how buffers get shown using 'display-buffer-alist'. Also refactors mastodon-auth--show-notice.
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index a357672..541c92e 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -240,7 +240,6 @@ Callback to `mastodon-http--get-response-async', usually
(defun mastodon-http--process-headers ()
"Return an alist of http response headers."
- (switch-to-buffer (current-buffer))
(goto-char (point-min))
(let* ((head-str (buffer-substring-no-properties
(point-min)