]> git.eshelyaron.com Git - emacs.git/commit
Send shutdown and exit messages without arguments
authorFelicián Németh <felician.nemeth@gmail.com>
Thu, 16 Apr 2020 07:38:31 +0000 (09:38 +0200)
committerFelicián Németh <felician.nemeth@gmail.com>
Thu, 16 Apr 2020 07:38:31 +0000 (09:38 +0200)
commit6b59dcf652301a98d96e539509fad26a873db6f8
tree70248d4bbc485f440cc30c95dd3e2c9d4f6375fb
parent595ca62d1c7aec15e364011c99ff986ea2e930ae
Send shutdown and exit messages without arguments

Fix regression introduced in 70e6157b (https://github.com/joaotavora/eglot/issues/315).  According to the
LSP specification the exit notification and the shutdown request
shouldn't have arguments ("params: void").  Note that jsonrpc.el
send nil as null on the wire.

* eglot.el (eglot-shutdown): Change back the arguments of
:shutdown and :exit to nil.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/430
lisp/progmodes/eglot.el