]> git.eshelyaron.com Git - emacs.git/commit
Get rid of jsonrpc.el customization group and timeout
authorJoão Távora <joaotavora@gmail.com>
Sun, 20 May 2018 14:24:55 +0000 (15:24 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 20 May 2018 15:40:07 +0000 (16:40 +0100)
commit3a127eed7b76ec02f4f408cbb03ab46ed2ac48b8
tree7fb2891359ef9a500f5cdeb44fed5867b974d500
parent351eb7f4ce86dfca00074aad3db961e28bd6fda5
Get rid of jsonrpc.el customization group and timeout

* eglot.el (eglot-shutdown, eglot--signal-textDocument/willSave):
Pass :timeout to jsonrpc-request.
(defadvice jsonrpc-request): Add :timeout kwarg

* jsonrpc.el (defgroup jsonrpc, jsonrpc-request-timeout): Remove.
(jrpc-default-request-timeout): New constant.
(jsonrpc-async-request): Use it.
(jsonrpc-request): Accept timeout kwarg and pass it on.
lisp/progmodes/eglot.el