Skip to content

Commit

Permalink
Support TRAMP (zweifisch#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
medranocalvo authored and ag91 committed Jul 9, 2024
1 parent 8dc7e46 commit 7911539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ob-http.el
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
"\n"))
(with-current-buffer (get-buffer-create "*curl output*")
(erase-buffer)
(if (= 0 (apply 'call-process "curl" nil `(t ,error-output) nil (ob-http-flatten args)))
(if (= 0 (apply 'process-file "curl" nil `(t ,error-output) nil (ob-http-flatten args)))
(let ((response (ob-http-parse-response (buffer-string))))
(when prettify (ob-http-pretty-response response (cdr pretty)))
(when ob-http:remove-cr (ob-http-remove-carriage-return response))
Expand Down

0 comments on commit 7911539

Please sign in to comment.