Skip to content

Commit

Permalink
Jsonrpc: fix default value of success-fn (bug#64919)
Browse files Browse the repository at this point in the history
* lisp/jsonrpc.el (jsonrpc--async-request-1): Fix default value of
success-fn.
  • Loading branch information
joaotavora committed Jul 29, 2023
1 parent deb74de commit 3bbe6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/jsonrpc.el
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ TIMEOUT is nil)."
:params params)
(puthash id
(list (or success-fn
(jsonrpc-lambda (&rest _ignored)
(lambda (&rest _ignored)
(jsonrpc--debug
connection (list :message "success ignored"
:id id))))
Expand Down

0 comments on commit 3bbe6f4

Please sign in to comment.