]> git.eshelyaron.com Git - emacs.git/commit
Simplify jsonrpc status setting
authorJoão Távora <joaotavora@gmail.com>
Sun, 10 Jun 2018 06:16:41 +0000 (07:16 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 10 Jun 2018 06:16:41 +0000 (07:16 +0100)
commit4d680281947ad05399c9b3fc9274ef33c07d3855
tree91fafae3ca494089c437e849c61a142c01f4a976
parentce96614d8acd0c12b8d209678bbcc2af5b95d1c6
Simplify jsonrpc status setting

* eglot.el (eglot--connect): Don't set jsonrpc-status.
(eglot-clear-status): New interactive command.
(eglot--mode-line-format): Simplify.

* jsonrpc.el (jsonrpc--async-request-1): Simplify.
(jsonrpc-connection): Replace status with last-error.
(jsonrpc-clear-status): Delete.
(jsonrpc--connection-receive): Set last-error.
lisp/progmodes/eglot.el