]> git.eshelyaron.com Git - emacs.git/commit
Adjust previous jsonrpc change
authorJoão Távora <joaotavora@gmail.com>
Tue, 3 Jul 2018 07:21:42 +0000 (08:21 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 3 Jul 2018 07:21:56 +0000 (08:21 +0100)
commit4ee502ca9db022ef85c736888ec6d6b471e0332a
tree80b7a3f2b7e7d99745e5af9148218502d3824618
parent40db29fc5562d416a2af6c2a45b9f3f5e6a302db
Adjust previous jsonrpc change

(nth 2) is probably a better alternative to caddr, and in Emacs 26.1
we can pass 0 as :service to automatically find an available port.

* lisp/jsonrpc.el (jsonrpc--call-deferred): Use cl-caddr.

* test/lisp/jsonrpc-tests.el
(jsonrpc--call-with-emacsrpc-fixture): Pass 0 as :service to when
making the listen server.
lisp/jsonrpc.el
test/lisp/jsonrpc-tests.el