diff options
author | Rahguzar <rahguzar@zohomail.eu> | 2024-01-06 12:32:57 +0100 |
---|---|---|
committer | Rahguzar <rahguzar@zohomail.eu> | 2024-01-06 12:32:57 +0100 |
commit | 445d176b2a593a87afd3f6bca717feba639dfbdc (patch) | |
tree | 5ae3cafa7cc412e1bd8b32b7e0a9477d732739f8 /lisp/mastodon-http.el | |
parent | 4a8a102b3b4f8483af5b688e7ea480ff6b8dc2ed (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.el | 1 |
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) |