branch: elpa/hyperdrive commit 633e7171f633f9627cc83460fda36632b19fb419 Author: Joseph Turner <jos...@ushin.org> Commit: Joseph Turner <jos...@ushin.org>
Change: (h/url-loader) Use he/api --- hyperdrive.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hyperdrive.el b/hyperdrive.el index 3c3d959c0b..42ba2066c5 100644 --- a/hyperdrive.el +++ b/hyperdrive.el @@ -814,10 +814,7 @@ The return value of this function is the retrieval buffer." ;; TODO: When `plz.el' adds :as 'response-with-buffer, use that. ;; response-buffer will contain the loaded HTML, and will be deleted at the end of `eww-render'. ((cl-struct plz-response headers body) - (h/api 'get url :as 'response))) - ;; Filling entry is necessary in order to update hyperdrive disk-usage. - ;; TODO: Use he/api and update disk usage automatically. - (h//fill (h/url-entry url) headers) + (he/api 'get (h/url-entry url) :as 'response))) (with-current-buffer (generate-new-buffer " *hyperdrive-eww*") (widen) (goto-char (point-min))