Skip to content

Commit 7d4c052

Browse files
committed
Match new signature for request--curl-callback
louietan#76
1 parent e077df3 commit 7d4c052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

anki-editor.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ See https://apps.ankiweb.net/docs/manual.html#latex-conflicts.")
158158
;; might not be called right away but at a later time, that's
159159
;; why here we manually invoke callbacks to receive the result.
160160
(unless (request-response-done-p response)
161-
(request--curl-callback (get-buffer-process (request-response--buffer response)) "finished\n")))
161+
(request--curl-callback "localhost" (get-buffer-process (request-response--buffer response)) "finished\n")))
162162

163163
(when err (error "Error communicating with AnkiConnect using cURL: %s" err))
164164
(or reply (error "Got empty reply from AnkiConnect"))))

0 commit comments

Comments
 (0)