We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6965c8 commit b543552Copy full SHA for b543552
anki-editor.el
@@ -166,7 +166,7 @@ See https://apps.ankiweb.net/docs/manual.html#latex-conflicts.")
166
;; why here we manually invoke callbacks to receive the result.
167
(unless (request-response-done-p response)
168
;; (request--curl-callback "localhost" (get-buffer-process (request-response--buffer response)) "finished\n")))
169
- (if (= 2 (func-arity (function 'request--curl-callback)))
+ (if (equalp '(2 . 2) (func-arity 'request--curl-callback))
170
;; Handle the older, stable version of 'request.el' in which
171
;; `request--curl-callback' has two args.
172
(request--curl-callback (get-buffer-process (request-response--buffer response)) "finished\n")
0 commit comments