0
我使用emacs-request从网上获取一些json数据。下面是我想知道的回调函数,如:success
如何可以访问ARG1和ARG2一个例子如何从回调函数访问其他参数
(defun test (arg1 arg2)
(request
"http://httpbin.org/get"
:params '(("key" . "value") ("key2" . "value2"))
:parser 'json-read
:success (cl-function
(lambda (&key data &allow-other-keys)
(message "I sent: %S" (assoc-default 'args data))))))
?