]> git.eshelyaron.com Git - emacs.git/commit
Call shutdown/exit methods with params:{}, not null
authorVladimir Panteleev <git@thecybershadow.net>
Sun, 6 Oct 2019 16:10:32 +0000 (16:10 +0000)
committerFelicián Németh <felician.nemeth@gmail.com>
Mon, 13 Jan 2020 15:54:13 +0000 (16:54 +0100)
commit70e6157b56a6d1534148f6fd9706232754e9ea9e
treefc238ddac5f232695e49aa9b76b22d2926641a61
parentedf382a98222cf8a133bdc119563aba22a849bd9
Call shutdown/exit methods with params:{}, not null

"null" is not a valid JSON value for "params" according to the
JSON-RPC specification.

* eglot.el (eglot-shutdown): Do the same thing as for "initialized",
and use an empty hash table to be serialized to {}.

Copyright-paperwork-exempt: yes
GitHub-reference: per https://github.com/joaotavora/eglot/issues/315
lisp/progmodes/eglot.el