]> git.eshelyaron.com Git - emacs.git/commit
Make lisp/jsonrpc.el work with Emacs 25.1
authorJoão Távora <joaotavora@gmail.com>
Mon, 2 Jul 2018 14:57:24 +0000 (15:57 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 2 Jul 2018 16:30:35 +0000 (17:30 +0100)
commit332f4656b019b58fed1de6e35769e83ff190908d
treea22f02d90e7b073bcd0208d14d6e349b5bf874e6
parentee3e432300054ca488896e39fca57b10d733330a
Make lisp/jsonrpc.el work with Emacs 25.1

* jsonrpc.el (Package-Requires): Require Emacs 25.1
(jsonrpc-lambda): Use cl-gensym.
(jsonrpc--call-deferred): Caddr doesn't exist in
emacs 25.1.

* jsonrpc-tests.el
(jsonrpc--call-with-emacsrpc-fixture): New function.
(jsonrpc--with-emacsrpc-fixture): Use it.
(deferred-action-complex-tests): Adjust test for Emacs 25.1
lisp/jsonrpc.el
test/lisp/jsonrpc-tests.el