]> git.eshelyaron.com Git - emacs.git/commit
Handle requests from server correctly
authorJoão Távora <joaotavora@gmail.com>
Fri, 4 May 2018 11:17:26 +0000 (12:17 +0100)
committerJoão Távora <joaotavora@gmail.com>
Fri, 4 May 2018 13:00:32 +0000 (14:00 +0100)
commit70fc9cc98d057cfc5e8bd35c60699edd2fb5107d
tree35331aae44d3805a71e8ee654ce70bb73c2b943d
parent4f62e731d8e1b4c30bff9f24dd4020cb2a11b06e
Handle requests from server correctly

* eglot.el (eglot--process-receive): Redesign.
(eglot--process-send): Take REPLY arg. Discover if message is error.
(eglot--reply): new function
(eglot--log-event): Tweak docstring.
(eglot--process-receive): Reply with -32601 if unimplemented.
(eglot--server-window/showMessageRequest)
(eglot--server-client/registerCapability): Use eglot--reply
lisp/progmodes/eglot.el