From 791153937cca3a86f015db2089a07de8ada19088 Mon Sep 17 00:00:00 2001 From: medranocalvo Date: Wed, 3 Nov 2021 09:58:58 +0100 Subject: [PATCH] Support TRAMP (#53) --- ob-http.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ob-http.el b/ob-http.el index 060e2d8..c0b12d9 100644 --- a/ob-http.el +++ b/ob-http.el @@ -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))